mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
No need to access service sockets anymore.
This commit is contained in:
@@ -38,8 +38,8 @@ module.exports = syrup()
|
||||
, newOwner
|
||||
))
|
||||
])
|
||||
input.acquireWakeLock(services.inputServiceSocket)
|
||||
input.unlock(services.inputServiceSocket)
|
||||
input.acquireWakeLock()
|
||||
input.unlock()
|
||||
owner = newOwner
|
||||
}
|
||||
|
||||
@@ -55,8 +55,8 @@ module.exports = syrup()
|
||||
, owner
|
||||
))
|
||||
])
|
||||
input.releaseWakeLock(services.inputServiceSocket)
|
||||
input.lock(services.inputServiceSocket)
|
||||
input.releaseWakeLock()
|
||||
input.lock()
|
||||
owner = null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user