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

Commit dfef1c17 authored by Jorge Gil's avatar Jorge Gil Committed by Android (Google) Code Review
Browse files

Merge "Remove redundant posting of the crossfade to the main executor" into sc-dev

parents 84747c0e 04b16337
Loading
Loading
Loading
Loading
+18 −20
Original line number Diff line number Diff line
@@ -968,7 +968,6 @@ public class PipTaskOrganizer implements ShellTaskOrganizer.TaskListener,
                        destinationBounds.height());
                mSurfaceTransactionHelper.scale(t, snapshotSurface, snapshotSrc, snapshotDest);

                mMainExecutor.execute(() -> {
                // Start animation to fade out the snapshot.
                final ValueAnimator animator = ValueAnimator.ofFloat(1.0f, 0.0f);
                animator.setDuration(mEnterAnimationDuration);
@@ -990,7 +989,6 @@ public class PipTaskOrganizer implements ShellTaskOrganizer.TaskListener,
                });
                animator.start();
            });
            });
        } else {
            applyFinishBoundsResize(wct, direction);
        }