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

Commit cd7550be authored by Hongwei Wang's avatar Hongwei Wang Committed by Android (Google) Code Review
Browse files

Merge "Avoid double invocation in PipExpandAnimatorTest" into main

parents 2762466b cbe96fd3
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -189,8 +189,7 @@ public class PipExpandAnimatorTest {
        mPipExpandAnimator.setAnimationStartCallback(mMockStartCallback);
        mPipExpandAnimator.setAnimationEndCallback(mMockEndCallback);
        InstrumentationRegistry.getInstrumentation().runOnMainSync(() -> {
            mPipExpandAnimator.start();
            clearInvocations(mMockTransaction);
            // animator is not started intentionally to avoid double invocation
            mPipExpandAnimator.setCurrentFraction(0.5f);
        });