Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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() {