summaryrefslogtreecommitdiff
path: root/cmds/statsd/src/shell/ShellSubscriber.cpp
diff options
context:
space:
mode:
authorSalvador Martinez <dehboxturtle@google.com>2018-09-24 10:36:11 -0700
committerSalvador Martinez <dehboxturtle@google.com>2018-09-28 14:25:25 -0700
commita80bbab54c8cc02729508f6c7b1d51a0eabb331f (patch)
treeec23f559c51b8f82c9a7fd4de71fe33c4ba1c2eb /cmds/statsd/src/shell/ShellSubscriber.cpp
parent960165c0d786c08eaacb3427b33753623754207b (diff)
Add new POWER_SAVER permission & update api
This CL adds a new privileged permission called POWER_SAVER that will allow whitelisted packages to toggle battery saver on the device. This can be done via PowerManager, where the API for setting battery saver has been updated to accept calls from apps with either DEVICE_POWER or the POWER_SAVER permission. Additionally, we whitelist Turbo for the permission. Test: Framework builds, Turbo can toggle EBS Bug: 115524274 Change-Id: I49d9747b2d42f792a2f3ba90a15aa23c47e489b3
Diffstat (limited to 'cmds/statsd/src/shell/ShellSubscriber.cpp')
0 files changed, 0 insertions, 0 deletions