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

Commit 64809780 authored by Sunny Goyal's avatar Sunny Goyal Committed by Android (Google) Code Review
Browse files

Revert "Fix null-pointers in SurfaceTransactionApplier constructor."

This reverts commit d86c5657.

Reason for revert: b/281294745

Change-Id: Ib2680b60346a9bc5932057707d0ef105441f324d
parent d86c5657
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1448,6 +1448,7 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
     */
    private Animator getFallbackClosingWindowAnimators(RemoteAnimationTarget[] appTargets) {
        final int rotationChange = getRotationChange(appTargets);
        SurfaceTransactionApplier surfaceApplier = new SurfaceTransactionApplier(mDragLayer);
        Matrix matrix = new Matrix();
        Point tmpPos = new Point();
        Rect tmpRect = new Rect();
@@ -1503,7 +1504,7 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
                                .setAlpha(1f);
                    }
                }
                transaction.getTransaction().apply();
                surfaceApplier.scheduleApply(transaction);
            }
        });

@@ -1591,8 +1592,7 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
            boolean playFallBackAnimation = (launcherView == null
                    && launcherIsForceInvisibleOrOpening)
                    || mLauncher.getWorkspace().isOverlayShown()
                    || hasMultipleTargetsWithMode(appTargets, MODE_CLOSING)
                    || mLauncher.isDestroyed();
                    || hasMultipleTargetsWithMode(appTargets, MODE_CLOSING);

            boolean playWorkspaceReveal = true;
            boolean skipAllAppsScale = false;