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

Commit 8f33bbd3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Make sure to not block SystemService#onUserStarting() in IMMS" into main

parents e8bd787b 05b5e0e2
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -1038,6 +1038,7 @@ public final class InputMethodManagerService implements IInputMethodManagerImpl.
            // Called on ActivityManager thread.
            final int userId = user.getUserIdentifier();
            SecureSettingsWrapper.onUserStarting(userId);
            mService.mIoHandler.post(() -> {
                synchronized (ImfLock.class) {
                    if (mService.mConcurrentMultiUserModeEnabled) {
                        if (mService.mCurrentUserId != userId && mService.mSystemReady) {
@@ -1045,6 +1046,7 @@ public final class InputMethodManagerService implements IInputMethodManagerImpl.
                        }
                    }
                }
            });
        }

    }