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

Commit 8bf6064f authored by Android Build Merger (Role)'s avatar Android Build Merger (Role)
Browse files

[automerger] Add null check before playing recents scale down anim am: 7cc878b5

Change-Id: Ie10ecb7da0307d17c408979d4f6a85906d278c11
parents 498a9bd5 7cc878b5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -299,6 +299,9 @@ public interface ActivityControlHelper<T extends BaseDraggingActivity> {
        private void playScaleDownAnim(AnimatorSet anim, Launcher launcher) {
            RecentsView recentsView = launcher.getOverviewPanel();
            TaskView v = recentsView.getTaskViewAt(recentsView.getCurrentPage());
            if (v == null) {
                return;
            }
            ClipAnimationHelper clipHelper = new ClipAnimationHelper();
            clipHelper.fromTaskThumbnailView(v.getThumbnail(), (RecentsView) v.getParent(), null);
            if (!clipHelper.getSourceRect().isEmpty() && !clipHelper.getTargetRect().isEmpty()) {