diff options
author | Sam Mortimer <sam@mortimer.me.uk> | 2013-05-26 11:23:34 -0700 |
---|---|---|
committer | DvTonder <david.vantonder@gmail.com> | 2013-06-12 21:05:56 -0400 |
commit | 7dae958adefd8f4a7594a74f8e05f1e3449e6cc6 (patch) | |
tree | 24b19c84aec254f81a18f43cfbc08ee267316dbb /res/values | |
parent | f931c04d5080745f7053242537ba76911de03b2a (diff) | |
download | packages_apps_settings-7dae958adefd8f4a7594a74f8e05f1e3449e6cc6.zip packages_apps_settings-7dae958adefd8f4a7594a74f8e05f1e3449e6cc6.tar.gz packages_apps_settings-7dae958adefd8f4a7594a74f8e05f1e3449e6cc6.tar.bz2 |
[1/2] Permit home button wake to be configurable
To activate, enable bool config_show_homeWake in
device overlay/packages/apps/Settings/res/values
Change-Id: I00afe89ba5bf36d74b93a40b9d15eef2e805611f
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/cm_strings.xml | 8 | ||||
-rw-r--r-- | res/values/config.xml | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml index a95a675..e28feca 100644 --- a/res/values/cm_strings.xml +++ b/res/values/cm_strings.xml @@ -656,9 +656,11 @@ <string name="status_bar_notif_count_summary">Display number of pending notifications</string> <!-- Wakeup options --> - <string name="display_category_wakeup_options_title">Wakeup options</string> - <string name="pref_volume_wake_title">Volume rocker wake</string> - <string name="pref_volume_wake_summary">Pressing the volume rocker up/down will wake the device</string> + <string name="display_category_wakeup_options_title">Wake-up options</string> + <string name="pref_home_wake_title">Home button</string> + <string name="pref_home_wake_summary">Pressing the home button will wake your device</string> + <string name="pref_volume_wake_title">Volume rocker</string> + <string name="pref_volume_wake_summary">Pressing the volume rocker up or down will wake your device</string> <!-- Setting checkbox summary for displaying USB debugging notification --> <string name="adb_notify">USB debugging notify</string> diff --git a/res/values/config.xml b/res/values/config.xml index e73a9ad..30e7796 100644 --- a/res/values/config.xml +++ b/res/values/config.xml @@ -33,6 +33,10 @@ <!-- LED Flashlight --> <bool name="has_led_flash">false</bool> + <!-- Home button Wake Support. Some devices do not support this. + Setting to false will disable Home button Wake support --> + <bool name="config_show_homeWake">false</bool> + <!-- Volume Rocker Wake Support. Some devices do not support (PMU) this. Setting to false will disable Volume Rocker Wake support --> <bool name="config_show_volumeRockerWake">false</bool> |