diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2021-01-12 02:03:59 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2021-01-18 17:28:52 +0900 |
commit | c67354f6979f51734059f0ebb7fa7e208d4e837c (patch) | |
tree | 9e5f96b717a1360add2d73b00c8c9be8fc7c8381 /rs/java/android/renderscript/ProgramRaster.java | |
parent | 68a864542e4342f29700b966f2f9827405cf81e6 (diff) |
Deflake testNetworkBlockedStatusAlwaysOnVpn
This test flakes about 1% of the time on my device. This is due
to the test calling expectNetworkRejectNonSecureVpn() before the
handler thread has processed the call to setAlwaysOnVpnPackage.
Fix this by waiting for callbacks where it is possible to do so,
and by calling waitForIdle where it is not.
Test: test-only change
Change-Id: Ic5750d4fdf9e7e3654a2b6ade74da6bc5de18fb6
Diffstat (limited to 'rs/java/android/renderscript/ProgramRaster.java')
0 files changed, 0 insertions, 0 deletions