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:
Simo Kinnunen
2014-10-17 15:45:01 +09:00
parent d785f2a59c
commit d58341665f

View File

@@ -98,6 +98,7 @@ module.exports = syrup.serial()
}
plugin.on('join', function() {
service.wake()
service.acquireWakeLock()
service.unlock()
})