Skip to content
Commit f404193c authored by Evan Rosky's avatar Evan Rosky
Browse files

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
parent c2d3644f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment