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

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

Merge "Unify user init logic in IMMS#onUnlockUser()" into main

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