summaryrefslogtreecommitdiffstats
path: root/core/java/android/provider/Settings.java
diff options
context:
space:
mode:
authorKonsta <konsta09@gmail.com>2012-08-20 10:39:57 +0300
committerSteve Kondik <steve@cyngn.com>2015-10-25 21:49:37 -0700
commit7565f878c20c0a262ed5b0ac83d69f385a259b8d (patch)
tree66f8586165a405ee7ffe93ab1d08ffcfc84ef866 /core/java/android/provider/Settings.java
parent47e1d1f59e1f35a9eacc99ecc7e638d7eeb860e8 (diff)
downloadframeworks_base-7565f878c20c0a262ed5b0ac83d69f385a259b8d.zip
frameworks_base-7565f878c20c0a262ed5b0ac83d69f385a259b8d.tar.gz
frameworks_base-7565f878c20c0a262ed5b0ac83d69f385a259b8d.tar.bz2
Framework: Volume key cursor control (1/2)
This feature is moved to framework so it also works with third party keyboards. Change-Id: I8e20240e7bee5351ab20bb3d701eb95a5fd3e112
Diffstat (limited to 'core/java/android/provider/Settings.java')
-rw-r--r--core/java/android/provider/Settings.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index e2f002b..c441038 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -3648,6 +3648,15 @@ public final class Settings {
public static final String DOUBLE_TAP_SLEEP_GESTURE = "double_tap_sleep_gesture";
/**
+ * Volume keys control cursor in text fields (default is 0)
+ * 0 - Disabled
+ * 1 - Volume up/down moves cursor left/right
+ * 2 - Volume up/down moves cursor right/left
+ * @hide
+ */
+ public static final String VOLUME_KEY_CURSOR_CONTROL = "volume_key_cursor_control";
+
+ /**
* Settings to backup. This is here so that it's in the same place as the settings
* keys and easy to update.
*