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

Commit e5475c78 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Remove redundant call of queryInputMethodServicesInternal

This is a follow up CL to my previous CL [1], which introduced
InputMethodSettingsRepository as a read-only mode.

There was a redundant invocation of

  InputMethodManagerService#queryInputMethodServicesInternal,

in

  MyPackageMonitor#onFinishPackageChangesInternal().

This CL fixes it.

 [1]: Iccede363caffb04087f511b6585cf07565dafda1
      90622cfc

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

                boolean changed = false;