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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user