Merge "Report toolType on handwriting start" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
00abd17625
@@ -7017,6 +7017,10 @@ public final class ViewRootImpl implements ViewParent,
|
||||
private int processPointerEvent(QueuedInputEvent q) {
|
||||
final MotionEvent event = (MotionEvent)q.mEvent;
|
||||
boolean handled = mHandwritingInitiator.onTouchEvent(event);
|
||||
if (handled) {
|
||||
// If handwriting is started, toolkit doesn't receive ACTION_UP.
|
||||
mLastClickToolType = event.getToolType(event.getActionIndex());
|
||||
}
|
||||
|
||||
mAttachInfo.mUnbufferedDispatchRequested = false;
|
||||
mAttachInfo.mHandlingPointerEvent = true;
|
||||
|
||||
Reference in New Issue
Block a user