mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Add lock parameter to control's rotate.
This commit is contained in:
@@ -157,9 +157,10 @@ module.exports = function ControlServiceFactory(
|
||||
return sendTwoWay('device.reboot')
|
||||
}
|
||||
|
||||
this.rotate = function(rotation) {
|
||||
this.rotate = function(rotation, lock) {
|
||||
return sendOneWay('display.rotate', {
|
||||
rotation: rotation
|
||||
rotation: rotation,
|
||||
lock: lock
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user