mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Try to wake the device when a user start starts using it in addition to taking WakeLock. Hoping that this will fix the mysterious issue where occasionally clicks don't register properly until you press the home button.
This commit is contained in:
@@ -98,6 +98,7 @@ module.exports = syrup.serial()
|
||||
}
|
||||
|
||||
plugin.on('join', function() {
|
||||
service.wake()
|
||||
service.acquireWakeLock()
|
||||
service.unlock()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user