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
This commit is contained in:
@@ -302,7 +302,6 @@ public final class InputMethodManagerService extends IInputMethodManager.Stub
|
||||
final ImePlatformCompatUtils mImePlatformCompatUtils;
|
||||
final InputMethodDeviceConfigs mInputMethodDeviceConfigs;
|
||||
private final DisplayManagerInternal mDisplayManagerInternal;
|
||||
final boolean mHasFeature;
|
||||
private final ArrayMap<String, List<InputMethodSubtype>> mAdditionalSubtypeMap =
|
||||
new ArrayMap<>();
|
||||
private final UserManager mUserManager;
|
||||
@@ -1730,8 +1729,6 @@ public final class InputMethodManagerService extends IInputMethodManager.Stub
|
||||
mDisplayManagerInternal = LocalServices.getService(DisplayManagerInternal.class);
|
||||
mUserManager = mContext.getSystemService(UserManager.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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user