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

Commit a918fd17 authored by Yohei Yukawa's avatar Yohei Yukawa Committed by Android (Google) Code Review
Browse files

Merge "Remove IMMS#mHasFeature, which is unused"

parents ea765a3f e4f104af
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -300,7 +300,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;
@@ -1728,8 +1727,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);