summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetDir.cpp
diff options
context:
space:
mode:
author ryanlwlin <ryanlwlin@google.com> 2022-03-15 09:05:16 +0800
committer ryanlwlin <ryanlwlin@google.com> 2022-03-15 13:27:12 +0800
commitd7219b7d60b6905c1941bc55f92b0228a7955aab (patch)
treeddf8889b7743247bcd8292a88e4c4ddf65a40e7e /libs/androidfw/AssetDir.cpp
parent7cf2c5f596e3fa8fb07b70e8efbd8e2229d19557 (diff)
Fix the flaky AccessibilityMagnificationTest#testListener
The listner might invoked twice because we use vsync to change the magnification spec. When the animation is running, the posted tasks might executed after animation ended twice. To fix, we update the source bounds only when it is indeed changed, which also could reduce the redudant mirroing content operation when the request is sent consecutively in a short time. Bug: 214785717 Test: atest AccesibilityMagnificationTest \ --retry-strategy ITERATIONS --max-testcase-run-count 20 Change-Id: I68962b189d8f39f587b717e8125a224e0f67a7e7
Diffstat (limited to 'libs/androidfw/AssetDir.cpp')
0 files changed, 0 insertions, 0 deletions