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

Commit dc5b21a5 authored by satok's avatar satok Committed by Android Git Automerger
Browse files

am 487f8e93: Merge "Fix an issue on installing 3rd-party IME by a non-primary...

am 487f8e93: Merge "Fix an issue on installing 3rd-party IME by a non-primary user" into jb-mr1.1-dev

* commit '487f8e93':
  Fix an issue on installing 3rd-party IME by a non-primary user
parents 231719fa 487f8e93
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -444,8 +444,10 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
            final int userId = getChangingUserId();
            final boolean retval = userId == mSettings.getCurrentUserId();
            if (DEBUG) {
                if (!retval) {
                    Slog.d(TAG, "--- ignore this call back from a background user: " + userId);
                }
            }
            return retval;
        }

@@ -658,7 +660,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
        } catch (RemoteException e) {
            Slog.w(TAG, "Couldn't get current user ID; guessing it's 0", e);
        }
        mMyPackageMonitor.register(mContext, null, true);
        mMyPackageMonitor.register(mContext, null, UserHandle.ALL, true);

        // mSettings should be created before buildInputMethodListLocked
        mSettings = new InputMethodSettings(