diff options
author | Arthur Hung <arthurhung@google.com> | 2020-02-27 21:56:11 +0800 |
---|---|---|
committer | Arthur Hung <arthurhung@google.com> | 2020-03-17 07:28:59 +0000 |
commit | 423346e7e295b61a699691e9f7690e3f228d7e35 (patch) | |
tree | 2ea628c76f449c9e073a20da92b361ca4bd7eb50 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 8888ec9144a5a79e8e877fb19cbbe6cc3cc4dc76 (diff) |
Pass source to dispatchBatchedInputEventPending (1/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 onBatchedInputEventPending, and then we can
use that to determine whether we could consume event immediately or not.
Bug: 149715123
Test: atest ViewUnbufferedTest
Change-Id: I4344a99de77d3758cc7d1df155394c89fa828f2e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions