mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 00:23:25 +02:00
Implement ringer mode setting.
This commit is contained in:
@@ -222,6 +222,12 @@ module.exports = function ControlServiceFactory(
|
||||
return sendTwoWay('account.remove')
|
||||
}
|
||||
|
||||
this.setRingerMode = function(mode) {
|
||||
return sendTwoWay('ringer.set', {
|
||||
mode: mode
|
||||
})
|
||||
}
|
||||
|
||||
window.cc = this
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user