summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author chaviw <chaviw@google.com> 2019-12-18 15:03:51 -0800
committer chaviw <chaviw@google.com> 2019-12-19 09:08:05 -0800
commit81e2bb96bf4b7f3bfdcdcc33c9247e5b94748243 (patch)
tree3a529a2e832a5260655f22be72b24679de069ee1 /libs/gui/ConsumerBase.cpp
parenteb1cdc5b093761733a532779ecde9474831a5789 (diff)
Consume batches in dispatcher tests
We are currently calling consume with consumeBatches=false. But that means we don't want to consume any batched events. As a result, when events are simply stored internally in inputconsumer, they are not returned to callers of consume(..). We never had tests that included MOVE events, and since DOWN events are never batched, we did not encounter this case. Now that we are adding a MOVE test, we need to ensure batches are consumed as well. Bug: none Test: atest inputflinger_tests Change-Id: Ieb13e1bb43bbf96f7f9352a283387ffdb11ba54a
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions