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
This commit is contained in:
Wilson Wu
2022-07-05 15:39:59 +08:00
parent e2fdbeffa6
commit f9b9f1d892

View File

@@ -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;