diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index e0ce9c9c5eec9c385ac8ce41131f31fb63b9ca2e..b58575bba2848f325584863fae6dc07431bc1b86 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -2149,7 +2149,6 @@ public class LatinIME extends InputMethodService } private void setPunctuationSuggestions() { - TextEntryState.onShowPunctuationsList(); setCandidatesViewShown(isCandidateStripVisible()); setSuggestions(mSuggestPuncList, false, false, false); } diff --git a/java/src/com/android/inputmethod/latin/TextEntryState.java b/java/src/com/android/inputmethod/latin/TextEntryState.java index 48a77349495906c433c0e34427011f49e78de370..56347af5db24ef83a37a90eb3719ac2f8687e42a 100644 --- a/java/src/com/android/inputmethod/latin/TextEntryState.java +++ b/java/src/com/android/inputmethod/latin/TextEntryState.java @@ -63,7 +63,6 @@ public class TextEntryState { UNDO_COMMIT, CORRECTING, PICKED_CORRECTION, - SHOWING_PUNCTUATIONS_LIST; } private static State sState = State.UNKNOWN; @@ -177,11 +176,6 @@ public class TextEntryState { displayState(); } - public static void onShowPunctuationsList() { - sState = State.SHOWING_PUNCTUATIONS_LIST; - displayState(); - } - public static void typedCharacter(char c, boolean isSeparator) { boolean isSpace = c == ' '; switch (sState) {