Pass source to dispatchBatchedInputEventPending (2/2)
The API requestUnbufferedDispatch allow View could receive the event in unbuffered way. But doing processUnbufferedRequest in onInputEvent is too late for the first event. Instead, we should pass the source of the input event up to dispatchBatchedInputEventPending, and then we can use that to determine whether we could consume event immediately or not. Bug: 149715123 Test: atest ViewUnbufferedTest Change-Id: I9cd6f76cc3ba74647b57036b3f4979efa8751b95
Loading
Please register or sign in to comment