mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Lock rotation when devices are being used if --lock-rotation is given.
This commit is contained in:
@@ -365,7 +365,7 @@ module.exports = syrup.serial()
|
||||
plugin.rotate = function(rotation) {
|
||||
return runAgentCommand(
|
||||
apk.wire.MessageType.SET_ROTATION
|
||||
, new apk.wire.SetRotationRequest(rotation, false)
|
||||
, new apk.wire.SetRotationRequest(rotation, options.lockRotation || false)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user