Commit 07b9d340 authored by Mist Liao's avatar Mist Liao Committed by Brian Muramatsu
Browse files

Fix testAccessGravity created mock activity not being destroyed

The case android.widget.cts.TextViewTest#testAccessFreezesText will create
and destroy MockURLSpanTestActivity twice during its test. However, due to
the timing of ActivityMonitor.waitForActivityWithTimeout(), the second
MockURLSpanTestActivity would not be destroyed with the message “Duplicate
finish request for ActivityRecord{40af0798 com.android.cts.stub/android.text.style.cts.MockURLSpanTestActivity}”

Hence the remained MockURLSpanTestActivity on screen will affect followed
test case such as testAccessGravity
parent 21d22568
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment