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

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

Merge "Run IMMS#onUnlockUser() also for background users" into main

parents 12b7d297 1c1954f6
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1114,11 +1114,12 @@ public final class InputMethodManagerService implements IInputMethodManagerImpl.
            final InputMethodSettings newSettings = queryInputMethodServicesInternal(mContext,
                    userId, AdditionalSubtypeMapRepository.get(userId), DirectBootAwareness.AUTO);
            InputMethodSettingsRepository.put(userId, newSettings);
            if (mCurrentUserId == userId) {
            if (!mConcurrentMultiUserModeEnabled) {
                // We need to rebuild IMEs.
                postInputMethodSettingUpdatedLocked(false /* resetDefaultEnabledIme */, userId);
                updateInputMethodsFromSettingsLocked(true /* enabledChanged */, userId);
            } else if (mConcurrentMultiUserModeEnabled) {
            } else {
                // TODO(b/352758479): Stop relying on initializeVisibleBackgroundUserLocked()
                initializeVisibleBackgroundUserLocked(userId);
            }
        }