summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2024-02-08 00:47:23 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2024-02-08 02:15:33 +0000
commit40aee53b1b771d27ecd7466c6c2b8dfbc15a5720 (patch)
treea880c943896b815394690ffa8e4b35d88da6be3d /libs/gui/ConsumerBase.cpp
parentfa32f893da2a58dd66e1eb6f13dea1cf775abec1 (diff)
InputReader_test: Wait for stylus gesture to be notified
This is required because of the following change: I818b1e688565d30867295019c5baae29cb5bdbf2 Previously, the policy was notified of the stylus gesture changing before the events were flushed to the listener. This meant the policy was always notified of the stylus gesture by the time the listener received the stylus DOWN event. After the aforementioned change, this is no longer true, so we cannot use the DOWN event as a sync signal. Instead, we need to wait for the policy to be notified. Bug: 324318955 Test: atest inputflinger_tests Change-Id: I8219e0db092c14da5907337b3ea5b5c6f7dddd4a
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions