diff options
author | Riddle Hsu <riddlehsu@google.com> | 2021-01-20 23:54:23 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2021-01-20 23:54:23 +0800 |
commit | 67983a9108d6058e2db64007014121f72e131a3f (patch) | |
tree | 067bf5c2cf270d0a019cc7a97ae6cfcba30f378f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 1e465216e3ccd56215835c014b4d71f7e8598368 (diff) |
Fix flakiness of testTaskChangeCallBacks
The test verifies that there is no task removed event before the
test activity is finished. But the task launched by previous test
may be removed when running the current test because the destruction
of activity is not done immediately. That causes the assertion of
task removed event count to fail.
So just only count the event after the current test activity is
started to avoid the noise.
Bug: 130388819
Test: TaskStackChangedListenerTest#testTaskChangeCallBacks
Change-Id: I742cb2f2344a42483af54ecd98fff5a1038900ff
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions