commit | bb03c043f023b7ea1bd00d7b9ee36e283cc484d6 | [log] [tgz] |
---|---|---|
author | duanyangqi <duanyangqi@xiaomi.com> | Thu Jul 22 17:44:50 2021 +0800 |
committer | yangqi duan <duanyangqi@xiaomi.com> | Wed Jul 28 13:05:13 2021 +0000 |
tree | e2083c1d3ed07e78ec58cdfdc8c942cec907aca4 | |
parent | afd6fa1f3a7a511e7c512df4a5101cbb1c56a3f3 [diff] |
Avoid timing issue when executing case and doTraversal The testcase was executed too fast, causing the dispatchOnGlobalLayout() of the second WidgetTestUtils.runOnMainAndLayoutSync() to not be triggered. Bug:194875202 Test: run cts-on-gsi -m CtsWidgetTestCases -t android.widget.cts.MagnifierTest#testSourcePosition_respectsMaxInSurfaceBounds_forSurfaceView Signed-off-by: duanyangqi <duanyangqi@xiaomi.com> Change-Id: Ia066c66a7b42a4211a76477ac6c42e63ea7d1ae7