Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44aef99a authored by Yohei Yukawa's avatar Yohei Yukawa Committed by Android (Google) Code Review
Browse files

Merge "Invalidate IMMS#mCurrentSubtype when upgrading the current IME." into mnc-dev

parents 257cd97d 54d512c9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -675,6 +675,10 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
                    // We currently don't have a default input method... is
                    // one now available?
                    changed = chooseNewDefaultIMELocked();
                } else if (!changed && isPackageModified(curIm.getPackageName())) {
                    // Even if the current input method is still available, mCurrentSubtype could
                    // be obsolete when the package is modified in practice.
                    changed = true;
                }

                if (changed) {