Fix a bug in canAddToLastInputMethod()
bug: 3456057 Change-Id: I977e984aafb36fdb83ac05d19fe0c7324a36d0c5
This commit is contained in:
@ -1949,7 +1949,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
|
||||
|
||||
private boolean canAddToLastInputMethod(InputMethodSubtype subtype) {
|
||||
if (subtype == null) return true;
|
||||
return subtype.containsExtraValueKey(SUBTYPE_EXTRAVALUE_EXCLUDE_FROM_LAST_IME);
|
||||
return !subtype.containsExtraValueKey(SUBTYPE_EXTRAVALUE_EXCLUDE_FROM_LAST_IME);
|
||||
}
|
||||
|
||||
private void saveCurrentInputMethodAndSubtypeToHistory() {
|
||||
|
Reference in New Issue
Block a user