From cb9c331713affb44d974b65293725e38bf747673 Mon Sep 17 00:00:00 2001 From: Wilson Wu Date: Mon, 27 Jun 2022 17:05:42 +0800 Subject: [PATCH] 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 --- .../android/server/inputmethod/InputMethodManagerService.java | 1 - 1 file changed, 1 deletion(-) diff --git a/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java b/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java index 5a8190a833e3e..3fceba77567bf 100644 --- a/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java +++ b/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java @@ -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 */);