summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorYunfan Chen <yunfanc@google.com>2019-02-18 15:12:33 +0900
committerYunfan Chen <yunfanc@google.com>2019-02-20 17:57:00 +0900
commit6dd9a627c166c97555a6c7c23d0db743f5e73b26 (patch)
treedb118308d0c280d1a3b72295cc7bf14fc071c9b7 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent753f4ce46865c6fc992e4fd9566aec36f812f688 (diff)
Fix flaky testForAllWinddow
It was flaky because the exiting window may be removed before the assertion. Prevent it from removal can fix it. During the setup, while window get created, there are WindowSurfacePlacer traversal being posted to mAnimationHandler. This could happen while we run the test. During the traversal, all exiting window will be removed if possible, and the test window will get removed. Wait until the traversal finished can fix the issue. Bug: 77772044 Bug: 74078662 Bug: 124088319 Test: atest DisplayContentTests#testForAllWindows Change-Id: I7f14605d3bd4a548755b7e88b0294168ab46ec7b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions