is there a way to turn on the screen when device is locked. i am listening for proximity sensor events to turn on the screen, but by acquiring wake lock which needs WAKE_LOCK permission.
Is there any alternative. Gravity app in playstore does this without WAKE_LOCK permission. Any hint?