diff options
author | 2014-01-09 18:36:23 +0900 | |
---|---|---|
committer | 2014-01-16 03:22:46 +0900 | |
commit | 4752b68f5a62ede099677bdea0514ba1d5082606 (patch) | |
tree | 741d14d1db199c306835290ed4e6811644da5322 /java/src/com/android/inputmethod/latin/LastComposedWord.java | |
parent | cdeeadf5caf00dd7cc73ebdd6f7196e96a76df00 (diff) | |
download | latinime-4752b68f5a62ede099677bdea0514ba1d5082606.tar.gz latinime-4752b68f5a62ede099677bdea0514ba1d5082606.tar.xz latinime-4752b68f5a62ede099677bdea0514ba1d5082606.zip |
[IL56] Don't erase suggestions when reverting a commit.
Bug: 12297051
Change-Id: Iffa1c98b8fe2b816c3ac6bc171037288107f637d
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LastComposedWord.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LastComposedWord.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/LastComposedWord.java b/java/src/com/android/inputmethod/latin/LastComposedWord.java index 2e9280c77..8546cebd5 100644 --- a/java/src/com/android/inputmethod/latin/LastComposedWord.java +++ b/java/src/com/android/inputmethod/latin/LastComposedWord.java @@ -42,7 +42,7 @@ public final class LastComposedWord { public final int[] mPrimaryKeyCodes; public final String mTypedWord; - public final String mCommittedWord; + public final CharSequence mCommittedWord; public final String mSeparatorString; public final String mPrevWord; public final int mCapitalizedMode; @@ -58,7 +58,7 @@ public final class LastComposedWord { // Warning: this is using the passed objects as is and fully expects them to be // immutable. Do not fiddle with their contents after you passed them to this constructor. public LastComposedWord(final int[] primaryKeyCodes, final InputPointers inputPointers, - final String typedWord, final String committedWord, final String separatorString, + final String typedWord, final CharSequence committedWord, final String separatorString, final String prevWord, final int capitalizedMode) { mPrimaryKeyCodes = primaryKeyCodes; if (inputPointers != null) { |