Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71c14c45 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Remove IMMS#executeOrSendMessage(IInputMethod, Message)

Now that no one is using

  InputMethodManagerService#executeOrSendMessage(IInputMethod,Message)

we can safely remove it.

Fix: 215609403
Test: presubmit
Change-Id: Ifd5899c3b8372db508b814d137d97a9f2356648b
parent e218e732
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -2209,16 +2209,6 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
        }
    }

    // TODO(b/215609403): This method will be removed soon!
    private void executeOrSendMessage(IInputMethod target, Message msg) {
        if (target.asBinder() instanceof Binder) {
            throw new UnsupportedOperationException(
                    "InputMethodService is not supported to run in the system_server");
        }
        handleMessage(msg);
        msg.recycle();
    }

    private void executeOrSendMessage(IInputMethodClient target, Message msg) {
         if (target.asBinder() instanceof Binder) {
             // This is supposed to be emulating the one-way semantics when the IME client is