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

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

Merge "Remove mCurrentUserId dependency from onFinishPackageChangesInternal()" into main

parents e550e680 58a9d44d
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -760,7 +760,6 @@ public final class InputMethodManagerService implements IInputMethodManagerImpl.
                            .getMethodMap();

            synchronized (ImfLock.class) {
                final boolean isCurrentUser = (userId == mCurrentUserId);
                final AdditionalSubtypeMap additionalSubtypeMap =
                        AdditionalSubtypeMapRepository.get(userId);
                final InputMethodSettings settings = InputMethodSettingsRepository.get(userId);
@@ -812,9 +811,6 @@ public final class InputMethodManagerService implements IInputMethodManagerImpl.
                final InputMethodSettings newSettings =
                        InputMethodSettings.create(newMethodMap, userId);
                InputMethodSettingsRepository.put(userId, newSettings);
                if (!isCurrentUser) {
                    return;
                }
                postInputMethodSettingUpdatedLocked(false /* resetDefaultEnabledIme */, userId);

                boolean changed = false;