Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 53e9d5eb authored by Jeff DeCew's avatar Jeff DeCew
Browse files

Stop advancing AnimatorTestRule time in the teardown method

Bug: 326204750
Bug: 326264785
Change-Id: I09da3b6e06ad9411aaabe5badcd55dc81061b34f
Test: treehugger
Flag: NA
parent 7386ea76
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -799,8 +799,9 @@ public class VolumeDialogImplTest extends SysuiTestCase {
        Log.d(TAG, "teardown: entered");
        setOrientation(mOriginalOrientation);
        Log.d(TAG, "teardown: after setOrientation");
        mAnimatorTestRule.advanceTimeBy(mLongestHideShowAnimationDuration);
        Log.d(TAG, "teardown: after advanceTimeBy");
        // Unclear why we used to do this, and it seems to be a source of flakes
        // mAnimatorTestRule.advanceTimeBy(mLongestHideShowAnimationDuration);
        Log.d(TAG, "teardown: skipped advanceTimeBy");
        mTestableLooper.moveTimeForward(mLongestHideShowAnimationDuration);
        Log.d(TAG, "teardown: after moveTimeForward");
        mTestableLooper.processAllMessages();