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

Commit 91a8c017 authored by Mateusz Cicheński's avatar Mateusz Cicheński Committed by Android (Google) Code Review
Browse files

Merge "Ignore scheduleFinishResizePip if there is no surface to operate on." into tm-qpr-dev

parents 11288f20 3e6c3a99
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1306,6 +1306,12 @@ public class PipTaskOrganizer implements ShellTaskOrganizer.TaskListener,
            return;
        }

        if (mLeash == null || !mLeash.isValid()) {
            Log.e(TAG, String.format("scheduleFinishResizePip with null leash! mState=%d",
                  mPipTransitionState.getTransitionState()));
            return;
        }

        finishResize(createFinishResizeSurfaceTransaction(destinationBounds), destinationBounds,
                direction, -1);
        if (updateBoundsCallback != null) {