Skip to content
Snippets Groups Projects
Commit 75b3f81f authored by Jean Chalard's avatar Jean Chalard
Browse files

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
parent e4783f95
No related branches found
No related tags found
No related merge requests found
......@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment