Restrict device wakeup via PowerManager.ACQUIRE_CAUSES_WAKEUP.
Set default value of existing OP_TURN_SCREEN_ON to MODE_ERRORED and make it an appOp permission. Introduce new permission android.permission.TURN_SCREEN_ON. Bug: 219568783 Test: atest PowerManagerServiceTest Test: manual Change-Id: I24f9a82e7dc9c0d55c071154bc15f7ea68c7656f
Loading
Please register or sign in to comment