Merge "Remove IMMS#executeOrSendMessage(IInputMethod, Message)"

This commit is contained in:
Yohei Yukawa
2022-01-22 14:20:16 +00:00
committed by Android (Google) Code Review

View File

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