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

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

Remove IMMS#mHasFeature, which is unused

This CL removes

  InputMethodManagerService#mHasFeature,

which is not used.

There should be no observable behavior change in this CL.

Bug: 234882948
Test: presubmit
Change-Id: I9444e2c5e2f3ab4491eb880e3f8b0f6da826ef45
parent fc48388a
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -302,7 +302,6 @@ public final class InputMethodManagerService extends IInputMethodManager.Stub
    final ImePlatformCompatUtils mImePlatformCompatUtils;
    final ImePlatformCompatUtils mImePlatformCompatUtils;
    final InputMethodDeviceConfigs mInputMethodDeviceConfigs;
    final InputMethodDeviceConfigs mInputMethodDeviceConfigs;
    private final DisplayManagerInternal mDisplayManagerInternal;
    private final DisplayManagerInternal mDisplayManagerInternal;
    final boolean mHasFeature;
    private final ArrayMap<String, List<InputMethodSubtype>> mAdditionalSubtypeMap =
    private final ArrayMap<String, List<InputMethodSubtype>> mAdditionalSubtypeMap =
            new ArrayMap<>();
            new ArrayMap<>();
    private final UserManager mUserManager;
    private final UserManager mUserManager;
@@ -1730,8 +1729,6 @@ public final class InputMethodManagerService extends IInputMethodManager.Stub
        mDisplayManagerInternal = LocalServices.getService(DisplayManagerInternal.class);
        mDisplayManagerInternal = LocalServices.getService(DisplayManagerInternal.class);
        mUserManager = mContext.getSystemService(UserManager.class);
        mUserManager = mContext.getSystemService(UserManager.class);
        mUserManagerInternal = LocalServices.getService(UserManagerInternal.class);
        mUserManagerInternal = LocalServices.getService(UserManagerInternal.class);
        mHasFeature = context.getPackageManager().hasSystemFeature(
                PackageManager.FEATURE_INPUT_METHODS);


        mSlotIme = mContext.getString(com.android.internal.R.string.status_bar_ime);
        mSlotIme = mContext.getString(com.android.internal.R.string.status_bar_ime);