summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-06-06 22:51:42 -0700
committerDianne Hackborn <hackbod@google.com>2010-06-07 12:33:53 -0700
commit728ac35373028b79205a788c526ef4b495518ec1 (patch)
treee011bd482891bfccd0b3250a8e0ac6720bc40f5c /res/xml
parent2486572bd6c963483197d6c29eef240e6621aeae (diff)
downloadpackages_apps_settings-728ac35373028b79205a788c526ef4b495518ec1.zip
packages_apps_settings-728ac35373028b79205a788c526ef4b495518ec1.tar.gz
packages_apps_settings-728ac35373028b79205a788c526ef4b495518ec1.tar.bz2
New Running Services UI.
This introduces a simplified (thanks, dsandler!) UI for Running Services, collapsing the groups of apps and processes into single lines. Tapping on a line moves to a new activity showing details on that group, where the stop functionality is now available. This UI is now also integrated into Manage Applications, as the Running tab. You no longer get a really confusing, misleading, scary list of every package that appears to be laying around for some reason. The code was also re-organized, to put everything related to Manage Applications and Running Services under its own package. There is still some clean-up -- some performance improvements (such as not re-computing the world when we switch to the details view), and if this looks good then eradicating the old running services UI. Change-Id: I3fc059c18060600742cab5b455d11ff74bf45ae3
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/application_settings.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/res/xml/application_settings.xml b/res/xml/application_settings.xml
index 4df21da..6ac58d1 100644
--- a/res/xml/application_settings.xml
+++ b/res/xml/application_settings.xml
@@ -59,6 +59,15 @@
android:targetClass="com.android.settings.RunningServices" />
</PreferenceScreen>
+ <PreferenceScreen
+ android:key="power_usage"
+ android:title="@string/power_usage_summary_title"
+ android:summary="@string/power_usage_summary">
+ <intent android:action="android.intent.action.MAIN"
+ android:targetPackage="com.android.settings"
+ android:targetClass="com.android.settings.fuelgauge.PowerUsageSummary" />
+ </PreferenceScreen>
+
<PreferenceScreen
android:title="@string/development_settings_title"
android:summary="@string/development_settings_summary">