summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Evan Rosky <erosky@google.com> 2022-11-09 16:46:18 -0800
committer Evan Rosky <erosky@google.com> 2022-11-10 17:27:58 +0000
commitf404193c915456e1ea815461689991575179e460 (patch)
treea4ec33dcae2efbd3214d1a4075b921f1f4891fcd /libs/input/PointerController.cpp
parentc2d3644fb97a61e1a5d2a1fc416efc127c07cc57 (diff)
Reduce Accessibility animation-wait timeout
Logic on the client-side often uses a similar mechanism (waiting for no-changes) to detect idle-ness. The most widely used (esp. in tests) is UiAutomator which happens to share the same 500ms timeout. This means there is a race between the timers+binder where, accessibility will have up-to-date information, but not send it because it is still getting updates from surfaceflinger. To prevent data from getting too stale, lower the timeout here so that the client can receive the latest window information before timing-out and using stale information to perform other operations Bug: 258073789 Test: atest NexusLauncherTests:AddConfigWidgetTest#testWidgetConfig Change-Id: I7c32acbc36810d74fe1baff538e26f0899a730aa
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions