summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2009-06-24 12:45:09 -0700
committerDianne Hackborn <hackbod@google.com>2009-06-24 20:13:16 -0700
commita54672f3a983766cf1dce754b3887807fcb723fa (patch)
treefea71376ab0601ae92307351ec0859c9559fd107 /res/xml
parent74b53da2532e3c611f712d80a50445ae5c7863a0 (diff)
downloadpackages_apps_settings-a54672f3a983766cf1dce754b3887807fcb723fa.zip
packages_apps_settings-a54672f3a983766cf1dce754b3887807fcb723fa.tar.gz
packages_apps_settings-a54672f3a983766cf1dce754b3887807fcb723fa.tar.bz2
Some cleanup of settings launching, adding shortcuts.
- Move the battery usage item from applications to phone info. - Give the battery usage item a summary. - Fiddle with the manifest to make it so we can launch parts of the settings app without messing up launching of the main app. (That is, remove affinities so they each are treated as different tasks.) - Add the ability to make shortcuts to some key settings panels.
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/application_settings.xml8
-rw-r--r--res/xml/device_info_settings.xml9
2 files changed, 9 insertions, 8 deletions
diff --git a/res/xml/application_settings.xml b/res/xml/application_settings.xml
index 4da2036..8d0a7cb 100644
--- a/res/xml/application_settings.xml
+++ b/res/xml/application_settings.xml
@@ -36,14 +36,6 @@
</PreferenceScreen>
<PreferenceScreen
- android:key="power_usage"
- android:title="@string/power_usage_summary_title">
- <intent android:action="android.intent.action.MAIN"
- android:targetPackage="com.android.settings"
- android:targetClass="com.android.settings.fuelgauge.PowerUsageSummary" />
- </PreferenceScreen>
-
- <PreferenceScreen
android:title="@string/manageapplications_settings_title"
android:summary="@string/manageapplications_settings_summary">
<intent android:action="android.intent.action.MAIN"
diff --git a/res/xml/device_info_settings.xml b/res/xml/device_info_settings.xml
index 3804500..80370e2 100644
--- a/res/xml/device_info_settings.xml
+++ b/res/xml/device_info_settings.xml
@@ -33,6 +33,15 @@
android:targetClass="com.android.settings.deviceinfo.Status" />
</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>
+
<!-- Legal Information -->
<PreferenceScreen
android:key="container"