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

Commit 89145557 authored by Jean Chalard's avatar Jean Chalard
Browse files

Reset forgotten members (D3)

Only resetting mCapitalizedMode is enough to fix bug#8013488,
but we may as well correctly reset both fields.

Bug: 8013488
Change-Id: Icb0d7c5b1e93368e8eb7848aa9137b45d5d3531e
parent 96845ecf
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -360,8 +360,10 @@ public final class WordComposer {
        mDigitsCount = 0;
        mIsBatchMode = false;
        mTypedWord.setLength(0);
        mCodePointSize = 0;
        mTrailingSingleQuotesCount = 0;
        mIsFirstCharCapitalized = false;
        mCapitalizedMode = CAPS_MODE_OFF;
        refreshSize();
        mAutoCorrection = null;
        mIsResumed = false;