Skip to content

Commit

Permalink
run suspend hal as root so that sleep hooks can do anything
Browse files Browse the repository at this point in the history
  • Loading branch information
Kethen committed Feb 8, 2024
1 parent 815b894 commit 14b9a23
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions suspend/1.0/default/[email protected]
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
service system_suspend /system/bin/hw/[email protected]
class early_hal
user system
group system wakelock uhid input
capabilities BLOCK_SUSPEND SYS_MODULE
#user system
#group system wakelock uhid input
#capabilities BLOCK_SUSPEND
# let pre_sleep and post_sleep hooks do anything they want
user root
group root
seclabel u:r:su:s0

0 comments on commit 14b9a23

Please sign in to comment.