From 93bc5e7fda7851480aa9cbcdb1ab37332a048f3d Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Wed, 8 Feb 2012 15:35:56 +0900 Subject: [PATCH] Fix obvious bug Change-Id: I3a0e5c699bbe4e9274dacdbdf92dff14148bd2c1 --- java/src/com/android/inputmethod/keyboard/KeyboardId.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/java/src/com/android/inputmethod/keyboard/KeyboardId.java b/java/src/com/android/inputmethod/keyboard/KeyboardId.java index 0837e17da..edca87f5f 100644 --- a/java/src/com/android/inputmethod/keyboard/KeyboardId.java +++ b/java/src/com/android/inputmethod/keyboard/KeyboardId.java @@ -124,20 +124,17 @@ public class KeyboardId { return mElementId < ELEMENT_SYMBOLS; } - // This should be aligned with {@link KeyboardShiftState#isShiftLocked}. public boolean isAlphabetShiftLockedKeyboard() { return mElementId == ELEMENT_ALPHABET_SHIFT_LOCKED || mElementId == ELEMENT_ALPHABET_SHIFT_LOCK_SHIFTED; } - // This should be aligned with {@link KeyboardShiftState#isShiftedOrShiftLocked}. public boolean isAlphabetShiftedOrShiftLockedKeyboard() { return isAlphabetKeyboard() && mElementId != ELEMENT_ALPHABET; } - // This should be aligned with {@link KeyboardShiftState#isManualShifted}. public boolean isAlphabetManualShiftedKeyboard() { - return mElementId != ELEMENT_ALPHABET_MANUAL_SHIFTED; + return mElementId == ELEMENT_ALPHABET_MANUAL_SHIFTED; } public boolean isSymbolsKeyboard() {