Merge "Simplify IInputMethodInvoker#updateEditorToolType() a bit"
This commit is contained in:
committed by
Android (Google) Code Review
commit
8dbf0f9a26
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user