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

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

Merge "Update a stale comment in IMMS constructor" into main

parents 123a3c5d 182f0eba
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -1274,7 +1274,13 @@ public final class InputMethodManagerService implements IInputMethodManagerImpl.

            mShowOngoingImeSwitcherForPhones = false;

            // InputMethodSettingsRepository should be initialized before buildInputMethodListLocked
            // Executing InputMethodSettingsRepository.initialize() does not mean that it
            // immediately becomes ready to return the up-to-date InputMethodSettings for each
            // running user, because we want to return from the constructor as early as possible so
            // as not to delay the system boot process.
            // Search for InputMethodSettingsRepository.put() to find where and when it's actually
            // being updated. In general IMMS should refrain from exposing the existence of IMEs
            // until systemReady().
            InputMethodSettingsRepository.initialize(mHandler, mContext);
            AdditionalSubtypeMapRepository.initialize(mHandler, mContext);