mirror of
https://github.com/openstf/stf
synced 2025-10-05 02:29:26 +02:00
Lock rotation when devices are being used if --lock-rotation is given.
This commit is contained in:
parent
f179f80238
commit
a08f50e155
3 changed files with 12 additions and 2 deletions
|
@ -104,6 +104,7 @@ module.exports = syrup.serial()
|
|||
|
||||
plugin.on('leave', function() {
|
||||
service.pressKey('home')
|
||||
service.thawRotation()
|
||||
service.releaseWakeLock()
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue