mirror of
https://github.com/openstf/stf
synced 2025-10-05 02:29:26 +02:00
Disable auto-unlocking until it actually works properly.
This commit is contained in:
parent
2ed8a5884f
commit
c6d0c9b86f
1 changed files with 0 additions and 2 deletions
|
@ -100,13 +100,11 @@ module.exports = syrup.serial()
|
||||||
plugin.on('join', function() {
|
plugin.on('join', function() {
|
||||||
service.wake()
|
service.wake()
|
||||||
service.acquireWakeLock()
|
service.acquireWakeLock()
|
||||||
service.unlock()
|
|
||||||
})
|
})
|
||||||
|
|
||||||
plugin.on('leave', function() {
|
plugin.on('leave', function() {
|
||||||
service.pressKey('home')
|
service.pressKey('home')
|
||||||
service.releaseWakeLock()
|
service.releaseWakeLock()
|
||||||
service.lock()
|
|
||||||
})
|
})
|
||||||
|
|
||||||
router
|
router
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue