Skip to content
Commit 5adcf3bc authored by Philip Junker's avatar Philip Junker
Browse files

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
parent 3e94f16e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment