mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 11:53:23 +02:00
Lock rotation when devices are being used if --lock-rotation is given.
This commit is contained in:
@@ -104,6 +104,7 @@ module.exports = syrup.serial()
|
||||
|
||||
plugin.on('leave', function() {
|
||||
service.pressKey('home')
|
||||
service.thawRotation()
|
||||
service.releaseWakeLock()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user