Merge "Simplify IInputMethodInvoker#updateEditorToolType() a bit"

This commit is contained in:
TreeHugger Robot
2022-10-04 18:42:20 +00:00
committed by Android (Google) Code Review

View File

@@ -221,14 +221,12 @@ final class IInputMethodInvoker {
}
@AnyThread
boolean updateEditorToolType(int toolType) {
void updateEditorToolType(@MotionEvent.ToolType int toolType) {
try {
mTarget.updateEditorToolType(toolType);
} catch (RemoteException e) {
logRemoteException(e);
return false;
}
return true;
}
@AnyThread