summaryrefslogtreecommitdiff
path: root/java/src/com/android/inputmethod/keyboard/KeyboardId.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2011-06-17 05:27:35 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-06-17 05:27:35 -0700
commit8f5a3842e6ef8e3890f7248ea3eb3a6dae4dc30c (patch)
tree065d38b619ca1b6657e80a9444ef85421029fa4a /java/src/com/android/inputmethod/keyboard/KeyboardId.java
parentc78278bfb492411f7a52624c01a26e7e56df2497 (diff)
parentf0f726464dcb5b3cef4f8e703659b35ca62430b5 (diff)
Merge "Disable showing TAB key when navigate flags are specified"
Diffstat (limited to 'java/src/com/android/inputmethod/keyboard/KeyboardId.java')
-rw-r--r--java/src/com/android/inputmethod/keyboard/KeyboardId.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/KeyboardId.java b/java/src/com/android/inputmethod/keyboard/KeyboardId.java
index cdaed95a5..d97bb6730 100644
--- a/java/src/com/android/inputmethod/keyboard/KeyboardId.java
+++ b/java/src/com/android/inputmethod/keyboard/KeyboardId.java
@@ -16,12 +16,12 @@
package com.android.inputmethod.keyboard;
+import android.view.inputmethod.EditorInfo;
+
import com.android.inputmethod.compat.EditorInfoCompatUtils;
import com.android.inputmethod.compat.InputTypeCompatUtils;
import com.android.inputmethod.latin.R;
-import android.view.inputmethod.EditorInfo;
-
import java.util.Arrays;
import java.util.Locale;
@@ -67,9 +67,10 @@ public class KeyboardId {
this.mMode = mode;
this.mXmlId = xmlId;
this.mColorScheme = colorScheme;
- this.mNavigateAction = InputTypeCompatUtils.isWebInputType(inputType)
- || EditorInfoCompatUtils.hasFlagNavigateNext(imeOptions)
- || EditorInfoCompatUtils.hasFlagNavigatePrevious(imeOptions);
+ // Note: Turn off checking navigation flag to show TAB key for now.
+ this.mNavigateAction = InputTypeCompatUtils.isWebInputType(inputType);
+// || EditorInfoCompatUtils.hasFlagNavigateNext(imeOptions)
+// || EditorInfoCompatUtils.hasFlagNavigatePrevious(imeOptions);
this.mPasswordInput = InputTypeCompatUtils.isPasswordInputType(inputType)
|| InputTypeCompatUtils.isVisiblePasswordInputType(inputType);
this.mHasSettingsKey = hasSettingsKey;