diff options
author | Jason Monk <jmonk@google.com> | 2015-04-29 12:46:42 -0400 |
---|---|---|
committer | Jason Monk <jmonk@google.com> | 2015-05-04 14:38:01 -0400 |
commit | 1eb54eb2ff250eccdd700601011bd6457ddcbec1 (patch) | |
tree | 15fae6a27b6617bc36dc596d4cff4825eb8bf037 /src/com/android/settings/InstrumentedFragment.java | |
parent | a283e6e325aeae794fb04e60c38431721742b622 (diff) | |
download | packages_apps_Settings-1eb54eb2ff250eccdd700601011bd6457ddcbec1.zip packages_apps_Settings-1eb54eb2ff250eccdd700601011bd6457ddcbec1.tar.gz packages_apps_Settings-1eb54eb2ff250eccdd700601011bd6457ddcbec1.tar.bz2 |
Add high power whitelist for apps
- Strings not final!
- New UX for power usage details (more preferency)
- Add high power apps list shows on/off and screen to
change (when possible)
- Link from power usage summary to high power list
- Link from advanced apps to high power list
Bug: 19991702
Change-Id: I97c927ed82d3b89041e4429b427508545763d66c
Diffstat (limited to 'src/com/android/settings/InstrumentedFragment.java')
-rw-r--r-- | src/com/android/settings/InstrumentedFragment.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/settings/InstrumentedFragment.java b/src/com/android/settings/InstrumentedFragment.java index d239d4e..1ee7e73 100644 --- a/src/com/android/settings/InstrumentedFragment.java +++ b/src/com/android/settings/InstrumentedFragment.java @@ -29,6 +29,8 @@ public abstract class InstrumentedFragment extends PreferenceFragment { public static final int VIEW_CATEGORY_DEFAULT_APPS = VIEW_CATEGORY_UNDECLARED + 1; public static final int VIEW_CATEGORY_STORAGE_APPS = VIEW_CATEGORY_UNDECLARED + 2; public static final int VIEW_CATEGORY_USAGE_ACCESS_DETAIL = VIEW_CATEGORY_UNDECLARED + 3; + public static final int VIEW_CATEGORY_HIGH_POWER_DETAILS = VIEW_CATEGORY_UNDECLARED + 4; + public static final int VIEW_CATEGORY_HIGH_POWER_APPS = VIEW_CATEGORY_UNDECLARED + 5; /** * Declare the view of this category. |