From f9b9f1d89209d75eee9bd8dae633e9b4d992606a Mon Sep 17 00:00:00 2001 From: Wilson Wu Date: Tue, 5 Jul 2022 15:39:59 +0800 Subject: [PATCH] Remove unused codes for IMMS These unused codes was added by CL[1] and CL[2] and didn't use now. We should able to safely remove them. [1]: I4dc9d6513d0559156f7da39244f3fc5ebc952ed4 [2]: I7df18b095d33ecafffced75aba9e4f4693b0c393 Bug: 236920321 Test: presubmit Change-Id: I044f409aa521b77f5689b8650785211becc2f450 --- .../android/server/inputmethod/InputMethodManagerService.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java b/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java index b45dc7ff0f6b0..6748111131001 100644 --- a/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java +++ b/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java @@ -173,7 +173,6 @@ import com.android.internal.inputmethod.StartInputReason; import com.android.internal.inputmethod.UnbindReason; import com.android.internal.messages.nano.SystemMessageProto.SystemMessage; import com.android.internal.notification.SystemNotificationChannels; -import com.android.internal.os.SomeArgs; import com.android.internal.os.TransferPipe; import com.android.internal.util.ConcurrentUtils; import com.android.internal.util.DumpUtils; @@ -3429,7 +3428,6 @@ public final class InputMethodManagerService extends IInputMethodManager.Stub @Override public void reportPerceptibleAsync(IBinder windowToken, boolean perceptible) { Objects.requireNonNull(windowToken, "windowToken must not be null"); - int uid = Binder.getCallingUid(); synchronized (ImfLock.class) { if (!calledFromValidUserLocked()) { return; @@ -4711,7 +4709,6 @@ public final class InputMethodManagerService extends IInputMethodManager.Stub @UiThread @Override public boolean handleMessage(Message msg) { - SomeArgs args; switch (msg.what) { case MSG_SHOW_IM_SUBTYPE_PICKER: final boolean showAuxSubtypes;