Fix a bug where the word composer is not correctly reset

...upon commit

Change-Id: I1fea87cb4c133a0884329eb9b61bf3053c36cd1b
main
Jean Chalard 2012-07-13 13:31:27 +09:00
parent 7247bff6d6
commit e9808694fe
1 changed files with 3 additions and 0 deletions

View File

@ -305,8 +305,11 @@ public class WordComposer {
&& type != LastComposedWord.COMMIT_TYPE_MANUAL_PICK) {
lastComposedWord.deactivate();
}
mCapsCount = 0;
mIsBatchMode = false;
mTypedWord.setLength(0);
mTrailingSingleQuotesCount = 0;
mIsFirstCharCapitalized = false;
refreshSize();
mAutoCorrection = null;
mIsResumed = false;