mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 07:53:22 +02:00
Merge pull request #768 from 0rzech/screen-reset-option
Screen reset option
This commit is contained in:
@@ -104,8 +104,10 @@ module.exports = syrup.serial()
|
||||
})
|
||||
|
||||
plugin.on('leave', function() {
|
||||
service.pressKey('home')
|
||||
service.thawRotation()
|
||||
if (options.screenReset) {
|
||||
service.pressKey('home')
|
||||
service.thawRotation()
|
||||
}
|
||||
service.releaseWakeLock()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user