Skip to content
Commit 57f0f551 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Battery saver: Expose location power save mode as system API

- Expose the location power save mode as a system API for the fuse
provider to change the behavior.

- Didn't choose to expose PowerManager.getPoserSaveState() because the result
class seems to be a bit ugly...

- Not all the modes are exposed since the two existing saving modes are
implemented within the system server and system apps don't need to know them.

Bug: 68769804
Test: Manual test with a test app
Change-Id: I25d8e68bfb79ebbeefbc241479077389c01e0f25
parent e6abcbed
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