diff --git a/java/src/com/android/inputmethod/latin/WordComposer.java b/java/src/com/android/inputmethod/latin/WordComposer.java index 4b7adf26b012e070aaad6486980aa0df52f300ed..7785e3fb9ec290bcf0bfcf9ac94cef3176d763c6 100644 --- a/java/src/com/android/inputmethod/latin/WordComposer.java +++ b/java/src/com/android/inputmethod/latin/WordComposer.java @@ -267,7 +267,7 @@ public class WordComposer { public boolean isAllUpperCase() { return mCapitalizedMode == CAPS_MODE_AUTO_SHIFT_LOCKED || mCapitalizedMode == CAPS_MODE_MANUAL_SHIFT_LOCKED - || (mCapsCount > 0) && (mCapsCount == size()); + || (mCapsCount > 1) && (mCapsCount == size()); } public boolean wasShiftedNoLock() {