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

Commit 4e1ab9e1 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Do not bind IME until an IME client is recognized"

parents 5f50b7e7 f91a2b10
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -1508,11 +1508,6 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
                resetDefaultImeLocked(mContext);
            }
            updateFromSettingsLocked(true);
            try {
                startInputInnerLocked();
            } catch (RuntimeException e) {
                Slog.w(TAG, "Unexpected exception", e);
            }
        }

        if (initialUserSwitch) {
@@ -1588,12 +1583,6 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
                InputMethodUtils.setNonSelectedSystemImesDisabledUntilUsed(mIPackageManager,
                        mSettings.getEnabledInputMethodListLocked(), currentUserId,
                        mContext.getBasePackageName());

                try {
                    startInputInnerLocked();
                } catch (RuntimeException e) {
                    Slog.w(TAG, "Unexpected exception", e);
                }
            }
        }
    }