I reverse engineer one application that turn on / off screen on shake. It uses WakeLock by PowerManager
this.mWakelock = this.mPowermanager.newWakeLock(268435466, "ShakeUnlock"); //LockService.java activity
Flag that is written here, 268435466. I tried to understand what does it stand for. But this value does not specified in Google Dev Docs. None of the constants have this value.
But it works properly. How so?
Full code of Android Studio project: Google Drive