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

Commit 13d7de07 authored by Jeff DeCew's avatar Jeff DeCew Committed by Android (Google) Code Review
Browse files

Merge "Stop advancing AnimatorTestRule time in the teardown method" into main

parents 965eb592 53e9d5eb
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -801,8 +801,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();