diff options
author | Dave Kessler <activethrasher00@gmail.com> | 2015-02-18 10:24:25 +0200 |
---|---|---|
committer | Michael Bestas <mikeioannina@gmail.com> | 2015-12-19 04:49:37 +0200 |
commit | c7c9553dc9f535bf947ac676b618dd5ec81cd8a2 (patch) | |
tree | 4e6dd045f777df7b285e46cfd0e2b8d6e5c921e8 /res | |
parent | 429a4e6a0f1cb4f703af476737743d9e138f1ae0 (diff) | |
download | packages_apps_Settings-c7c9553dc9f535bf947ac676b618dd5ec81cd8a2.zip packages_apps_Settings-c7c9553dc9f535bf947ac676b618dd5ec81cd8a2.tar.gz packages_apps_Settings-c7c9553dc9f535bf947ac676b618dd5ec81cd8a2.tar.bz2 |
Power Menu: remove power as an option
This is the only way to power the device off. Also, if the user
toggles all the options off an empty dialog will open. Lets make
this feature a little more user-friendly and remove power as an
optional entry.
Change-Id: I10b2d7c844fa40ae9583d3114ec99b0825c21cd9
Diffstat (limited to 'res')
-rw-r--r-- | res/values/cm_strings.xml | 1 | ||||
-rw-r--r-- | res/xml/power_menu_settings.xml | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml index 364295c..e38cf9c 100644 --- a/res/values/cm_strings.xml +++ b/res/values/cm_strings.xml @@ -430,7 +430,6 @@ <!-- Power menu --> <string name="power_menu_title">Power menu</string> - <string name="power_menu_power_title">Power off</string> <string name="power_menu_reboot_title">Reboot menu</string> <string name="power_menu_screenshot_title">Screenshot</string> <string name="power_menu_profiles_title">Profile switcher</string> diff --git a/res/xml/power_menu_settings.xml b/res/xml/power_menu_settings.xml index e29d9e1..ae707d1 100644 --- a/res/xml/power_menu_settings.xml +++ b/res/xml/power_menu_settings.xml @@ -20,11 +20,6 @@ xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"> <CheckBoxPreference - android:key="power" - android:title="@string/power_menu_power_title" - android:defaultValue="true" /> - - <CheckBoxPreference android:key="reboot" android:title="@string/power_menu_reboot_title" android:defaultValue="true" /> |