diff options
author | Dianne Hackborn <hackbod@google.com> | 2015-06-12 18:11:41 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2015-06-15 11:53:59 -0700 |
commit | 1958e5e7870579337f1d1d3e6c6fae096ba3abb9 (patch) | |
tree | fad208704fc337915aff86df8021895eb1910701 /api | |
parent | f63655e49fcccd922e8d5f61c67f58bd4a361211 (diff) | |
download | frameworks_base-1958e5e7870579337f1d1d3e6c6fae096ba3abb9.zip frameworks_base-1958e5e7870579337f1d1d3e6c6fae096ba3abb9.tar.gz frameworks_base-1958e5e7870579337f1d1d3e6c6fae096ba3abb9.tar.bz2 |
Fix issue #21813831: Need API for asking to be added to power whitelist
Add the API. Clean up a few related things.
Change-Id: I190adad1812f36f6095b98a1001fedb94874e8b5
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 1 | ||||
-rw-r--r-- | api/system-current.txt | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index 72b5ca4..4b30051 100644 --- a/api/current.txt +++ b/api/current.txt @@ -23419,6 +23419,7 @@ package android.os { public final class PowerManager { method public boolean isDeviceIdleMode(); + method public boolean isIgnoringBatteryOptimizations(java.lang.String); method public boolean isInteractive(); method public boolean isPowerSaveMode(); method public deprecated boolean isScreenOn(); diff --git a/api/system-current.txt b/api/system-current.txt index 6ef78d0..582e146 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -25341,6 +25341,7 @@ package android.os { public final class PowerManager { method public boolean isDeviceIdleMode(); + method public boolean isIgnoringBatteryOptimizations(java.lang.String); method public boolean isInteractive(); method public boolean isPowerSaveMode(); method public boolean isScreenBrightnessBoosted(); |