Fixed the issue of popup enabled when i change to symbol keyboard.
Bug:2909517 Change-Id: I1c010b1079a04ff3b08d690c536fbe8d4414ea14main
parent
648dcf55a3
commit
fda1ae71b5
|
@ -230,7 +230,7 @@ public class KeyboardSwitcher implements SharedPreferences.OnSharedPreferenceCha
|
|||
}
|
||||
mIsSymbols = isSymbols;
|
||||
|
||||
mInputView.setPreviewEnabled(true);
|
||||
mInputView.setPreviewEnabled(mInputMethodService.getPopupOn());
|
||||
KeyboardId id = getKeyboardId(mode, imeOptions, isSymbols);
|
||||
LatinKeyboard keyboard = null;
|
||||
keyboard = getKeyboard(id);
|
||||
|
|
|
@ -2261,6 +2261,10 @@ public class LatinIME extends InputMethodService
|
|||
return mWord;
|
||||
}
|
||||
|
||||
boolean getPopupOn() {
|
||||
return mPopupOn;
|
||||
}
|
||||
|
||||
private void updateCorrectionMode() {
|
||||
mHasDictionary = mSuggest != null ? mSuggest.hasMainDictionary() : false;
|
||||
mAutoCorrectOn = (mAutoCorrectEnabled || mQuickFixes)
|
||||
|
|
Loading…
Reference in New Issue