diff options
author | Sam Mortimer <sam@mortimer.me.uk> | 2012-06-28 21:58:22 -0700 |
---|---|---|
committer | Andrew Dodd <atd7@cornell.edu> | 2012-07-07 11:34:13 -0400 |
commit | 3f7b71553971be861faf7d486735c4a8cc4f7854 (patch) | |
tree | 8c9764ea24413cfbdc0cdf260f6169a98f86029a /DeviceSettings/res/values | |
parent | 44f182eecda0fc1e2f9bd387efe86f116664e860 (diff) | |
download | device_samsung_n7000-3f7b71553971be861faf7d486735c4a8cc4f7854.zip device_samsung_n7000-3f7b71553971be861faf7d486735c4a8cc4f7854.tar.gz device_samsung_n7000-3f7b71553971be861faf7d486735c4a8cc4f7854.tar.bz2 |
n7000: configurable touchkey backlight timeout (2/2)
requires smdk4210 kernel change:
http://review.cyanogenmod.com/#/c/18357/
Patch applied with conflict resolution to N7000
tree.
Change-Id: Icd4bd6749886ef1eaf7f4527bf7052a18b549868
Diffstat (limited to 'DeviceSettings/res/values')
-rw-r--r-- | DeviceSettings/res/values/arrays.xml | 20 | ||||
-rw-r--r-- | DeviceSettings/res/values/strings.xml | 2 |
2 files changed, 22 insertions, 0 deletions
diff --git a/DeviceSettings/res/values/arrays.xml b/DeviceSettings/res/values/arrays.xml index a86899a..4ee28de 100644 --- a/DeviceSettings/res/values/arrays.xml +++ b/DeviceSettings/res/values/arrays.xml @@ -112,4 +112,24 @@ <item>23</item> </string-array> + <string-array name="touchkey_timeout_entries"> + <item>Never</item> + <item>1 second</item> + <item>2 seconds</item> + <item>3 seconds (default)</item> + <item>4 seconds</item> + <item>5 seconds</item> + <item>6 seconds</item> + </string-array> + + <string-array name="touchkey_timeout_entries_values" translatable="false"> + <item>0</item> + <item>1</item> + <item>2</item> + <item>3</item> + <item>4</item> + <item>5</item> + <item>6</item> + </string-array> + </resources> diff --git a/DeviceSettings/res/values/strings.xml b/DeviceSettings/res/values/strings.xml index 08ee90c..d3f0891 100644 --- a/DeviceSettings/res/values/strings.xml +++ b/DeviceSettings/res/values/strings.xml @@ -28,6 +28,8 @@ <string name="touchkey_subcat_title">Touch key</string> <string name="touchkey_light_title_head">Enable keys backlight</string> <string name="touchkey_light_summary_head">Light up touch keys when screen is on</string> + <string name="touchkey_timeout_title_head">Backlight timeout</string> + <string name="touchkey_timeout_summary_head">Delay after a keypress before backlight turns off</string> <string name="category_haptic_title">Haptic</string> <string name="vibrator_subcat_title">Vibrator</string> |