summaryrefslogtreecommitdiff
path: root/libsparse/sparse.cpp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2019-04-08 13:29:07 -0700
committerYifan Hong <elsk@google.com>2019-04-09 13:35:07 -0700
commitf11b388c5dada04405e9eeea91d22ec2d9f056a0 (patch)
tree5a51a81b731a514684cc1c64e69fcb6935932939 /libsparse/sparse.cpp
parentf86c1dd4b44635b27349c4a44a9d0da77d707a38 (diff)
charger: Allow to rw /sys/power/[state,wakeup_count]
charger needs to suspend the device when the power goes away when it doesn't have root. These two files are marked with group system, user system, mode 0600 in 'on boot', but it is not executed in charger. Hence, move these actions to 'on init'. Test: no failure in libsuspend in charger Bug: 129138950 Change-Id: I787b935b4ff6177601329aeedccdac361b119ca3 Merged-In: I787b935b4ff6177601329aeedccdac361b119ca3
Diffstat (limited to 'libsparse/sparse.cpp')
0 files changed, 0 insertions, 0 deletions