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

Commit fa26cc98 authored by Cosmin Băieș's avatar Cosmin Băieș
Browse files

Revert "Remove redundant call of queryInputMethodServicesInternal"

This reverts commit e5475c78.

This fixes a lock contention that added a regression in boot time.

Fix: 329414077
Bug: 309837937
Test: n/a
Change-Id: Ib1ae7a2ac556799a7243ba2798bae3910a74d297
parent 13fa12ed
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1136,7 +1136,8 @@ public final class InputMethodManagerService extends IInputMethodManager.Stub
                if (!isCurrentUser) {
                    return;
                }
                mSettings = newSettings;
                mSettings = queryInputMethodServicesInternal(mContext, userId,
                        newAdditionalSubtypeMap, DirectBootAwareness.AUTO);
                postInputMethodSettingUpdatedLocked(false /* resetDefaultEnabledIme */);

                boolean changed = false;