diff options
author | 2012-01-17 11:55:23 +0900 | |
---|---|---|
committer | 2012-01-17 11:55:23 +0900 | |
commit | a8ba49c2534220105ce302a50b3a9ddaf831ef20 (patch) | |
tree | 6b14f59ab88175cb1d9f886467cc7d0fe5d836f1 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 72d285f4d758dd1ceafb7d9bd3dd330efd24c1f8 (diff) | |
download | latinime-a8ba49c2534220105ce302a50b3a9ddaf831ef20.tar.gz latinime-a8ba49c2534220105ce302a50b3a9ddaf831ef20.tar.xz latinime-a8ba49c2534220105ce302a50b3a9ddaf831ef20.zip |
Small cleanup
The method deleteWordAtCursor would call finishComposingText,
which is a very unexpected state change and would probably cause
surprising bugs to any parent that would call it.
As it happens, it's not used anywhere any more so let's just
remove it.
Change-Id: Iaa9200866e40b4e914f76baa987279948300679c
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 2f5f2a5dd..e6c4ba71b 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1399,7 +1399,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar if (mSuggestionsView != null && mSuggestionsView.dismissAddToDictionaryHint()) { // Go back to the suggestion mode if the user canceled the // "Touch again to save". - // NOTE: In gerenal, we don't revert the word when backspacing + // NOTE: In general, we don't revert the word when backspacing // from a manual suggestion pick. We deliberately chose a // different behavior only in the case of picking the first // suggestion (typed word). It's intentional to have made this |