From a7b2ac26ee2b9aef6f8cd95849c7d8edbff5082b Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Tue, 15 Feb 2011 17:13:52 +0900 Subject: [PATCH] Remove a useless flag. This has become useless when LatinIME stopped being a SharedPreferenceListener. Change-Id: I708ec3c3a299ead18548c85b435b45558c984e8d --- java/src/com/android/inputmethod/latin/LatinIME.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index fcd9229ec..cb1ff41dd 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -185,7 +185,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen // Keeps track of most recently inserted text (multi-character key) for reverting private CharSequence mEnteredText; - private boolean mRefreshKeyboardRequired; private final ArrayList mWordHistory = new ArrayList(); @@ -521,11 +520,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen mSubtypeSwitcher.updateParametersOnStartInputView(); - if (mRefreshKeyboardRequired) { - mRefreshKeyboardRequired = false; - onRefreshKeyboard(); - } - TextEntryState.newSession(this); // Most such things we decide below in initializeInputAttributesAndGetMode, but we need to