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: Icb0d7c5b1e93368e8eb7848aa9137b45d5d3531emain
parent
96845ecff6
commit
8914555776
|
@ -360,8 +360,10 @@ public final class WordComposer {
|
||||||
mDigitsCount = 0;
|
mDigitsCount = 0;
|
||||||
mIsBatchMode = false;
|
mIsBatchMode = false;
|
||||||
mTypedWord.setLength(0);
|
mTypedWord.setLength(0);
|
||||||
|
mCodePointSize = 0;
|
||||||
mTrailingSingleQuotesCount = 0;
|
mTrailingSingleQuotesCount = 0;
|
||||||
mIsFirstCharCapitalized = false;
|
mIsFirstCharCapitalized = false;
|
||||||
|
mCapitalizedMode = CAPS_MODE_OFF;
|
||||||
refreshSize();
|
refreshSize();
|
||||||
mAutoCorrection = null;
|
mAutoCorrection = null;
|
||||||
mIsResumed = false;
|
mIsResumed = false;
|
||||||
|
|
Loading…
Reference in New Issue