Remove unused code in InputMethodManagerService

This code was added by CL[1] and the usage was removed
by CL[2]. Hence we should able to remove it safely.

[1]: Ia651a811093a939d00c081be1961e24ed3ad0356
[2]: I5ff2e804cbcf90828370a0612ff54111130bdff4

Bug: 236920321
Test: presubmit
Change-Id: I5811b927d91732b8a0ba814aa8d372343051cf44
This commit is contained in:
Wilson Wu
2022-06-27 17:05:42 +08:00
parent 85ff9c86a5
commit cb9c331713

View File

@@ -2476,7 +2476,6 @@ public final class InputMethodManagerService extends IInputMethodManager.Stub
// We don't start input when session for a11y is created. We start input when
// input method start input, a11y manager service is always on.
if (startInputReason != StartInputReason.SESSION_CREATED_BY_ACCESSIBILITY) {
final Binder startInputToken = new Binder();
setEnabledSessionForAccessibilityLocked(mCurClient.mAccessibilitySessions);
AccessibilityManagerInternal.get().startInput(mCurRemoteAccessibilityInputConnection,
mCurEditorInfo, !initial /* restarting */);