Fix a bug with capitalizations (A15)

When only one character has been typed, we should not take that
as a strong symbol that everything should be upper-cased.

Change-Id: I4e3a3223269e6763e3594baeaa844daa79a624ed
main
Jean Chalard 2012-09-18 18:52:05 +09:00
parent e4783f95b2
commit 75b3f81fe1
1 changed files with 1 additions and 1 deletions

View File

@ -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() {