commit | fda1ae71b5c9582adf809ef723397ca244752696 | [log] [tgz] |
---|---|---|
author | Yohei Fujii <yfujii@google.com> | Fri Aug 13 19:02:34 2010 +0900 |
committer | Yohei Fujii <yfujii@google.com> | Fri Aug 13 19:02:34 2010 +0900 |
tree | c0a896413a5a2b866494c21533115e2911adc21b | |
parent | 648dcf55a369951eec5c7a29b8035105373b335b [diff] |
Fixed the issue of popup enabled when i change to symbol keyboard. Bug:2909517 Change-Id: I1c010b1079a04ff3b08d690c536fbe8d4414ea14
diff --git a/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java b/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java index bcf4902..ed6adce 100644 --- a/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java +++ b/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java
@@ -230,7 +230,7 @@ } mIsSymbols = isSymbols; - mInputView.setPreviewEnabled(true); + mInputView.setPreviewEnabled(mInputMethodService.getPopupOn()); KeyboardId id = getKeyboardId(mode, imeOptions, isSymbols); LatinKeyboard keyboard = null; keyboard = getKeyboard(id);
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 3073384..155e8cb 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -2261,6 +2261,10 @@ return mWord; } + boolean getPopupOn() { + return mPopupOn; + } + private void updateCorrectionMode() { mHasDictionary = mSuggest != null ? mSuggest.hasMainDictionary() : false; mAutoCorrectOn = (mAutoCorrectEnabled || mQuickFixes)