Partially revert I63ad561c

This is required to make cancellations of auto-corrections/completions work.

Change-Id: I091fb9946d4642847fde39d86a6b3b09735e93a8
main
Ken Wakasa 2010-11-13 15:16:43 +09:00
parent d98c20b036
commit 3009310283
2 changed files with 0 additions and 7 deletions

View File

@ -2149,7 +2149,6 @@ public class LatinIME extends InputMethodService
}
private void setPunctuationSuggestions() {
TextEntryState.onShowPunctuationsList();
setCandidatesViewShown(isCandidateStripVisible());
setSuggestions(mSuggestPuncList, false, false, false);
}

View File

@ -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) {