summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Ameer Armaly <aarmaly@google.com> 2023-09-11 18:32:38 +0000
committer Ameer Armaly <aarmaly@google.com> 2023-09-22 18:32:14 +0000
commitfb76caf3c5cc7e85fe24293546cbf668b8c78a46 (patch)
treebfab9757a0db4f3193c3481c7217f992cc609584 /libs/androidfw/ObbFile.cpp
parent5cadfad552ac96622213ca69db00f3ef9daddfc3 (diff)
Fix TouchExplorerTest flakiness.
1) Fix the test behavior to wait 10 milliseconds before sending the up event. The point is to make sure that the delays for hover enter and exit are not scheduled for the same moment. Scheduling them for the exact same moment can cause them to fire out of order. It also causes the test to more closely reflect real-world behavior. 2) Send accessibility events based on the internal state as needed in TouchExplorer#onAccessibilityEvent. Since accessibility events trigger internal state changes, we determine whether we need to send them based on the internal state and not by unrelated things like whether we have a pending runnable to send them. Fix: 295575684 Test: atest FrameworksServicesTests:com.android.server.accessibility.gestures.TouchExplorerTest --rerun-until-failure 300 Change-Id: I008d69add4a59ada8718463970cb66b3f07118ec
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions