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: I4e3a3223269e6763e3594baeaa844daa79a624edmain
parent
e4783f95b2
commit
75b3f81fe1
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue