aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/DebugSettings.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-01-16 17:18:40 +0900
committerTadashi G. Takaoka <takaoka@google.com>2012-01-17 13:19:01 +0900
commit06b7c256b1992f93aab0e2cdb90f57718f0631fd (patch)
tree775f3afcc166a7d51b8267c6e064ef2ba235d0bf /java/src/com/android/inputmethod/latin/DebugSettings.java
parent610a7d904e245625846cb3a754e3d7fe4b5555e6 (diff)
downloadlatinime-06b7c256b1992f93aab0e2cdb90f57718f0631fd.tar.gz
latinime-06b7c256b1992f93aab0e2cdb90f57718f0631fd.tar.xz
latinime-06b7c256b1992f93aab0e2cdb90f57718f0631fd.zip
Add "force non-distinct multitouch" debug option
Change-Id: I9fd6fabf03515011cedb8aaa30fdb7a77f2d4d12
Diffstat (limited to 'java/src/com/android/inputmethod/latin/DebugSettings.java')
-rw-r--r--java/src/com/android/inputmethod/latin/DebugSettings.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/DebugSettings.java b/java/src/com/android/inputmethod/latin/DebugSettings.java
index 2f1e7c2b8..3805da154 100644
--- a/java/src/com/android/inputmethod/latin/DebugSettings.java
+++ b/java/src/com/android/inputmethod/latin/DebugSettings.java
@@ -30,6 +30,7 @@ public class DebugSettings extends PreferenceActivity
private static final String TAG = "DebugSettings";
private static final String DEBUG_MODE_KEY = "debug_mode";
+ public static final String FORCE_NON_DISTINCT_MULTITOUCH_KEY = "force_non_distinct_multitouch";
private boolean mServiceNeedsRestart = false;
private CheckBoxPreference mDebugMode;
@@ -60,6 +61,8 @@ public class DebugSettings extends PreferenceActivity
updateDebugMode();
mServiceNeedsRestart = true;
}
+ } else if (key.equals(FORCE_NON_DISTINCT_MULTITOUCH_KEY)) {
+ mServiceNeedsRestart = true;
}
}