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

Commit f5702401 authored by android-build-team Robot's avatar android-build-team Robot Committed by android-build-merger
Browse files

Merge "PIP: Partial fix to wrong insets during bounds animation" into pi-dev am: 5685dffd

am: 3fe9c03a

Change-Id: Ic1cbf7da86f07a0705f4f848f85cdea61693aef7
parents a7e7ce81 3fe9c03a
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -2890,10 +2890,8 @@ public class ActivityStackSupervisor extends ConfigurationContainer implements D
        try {
            ActivityRecord r = stack.topRunningActivityLocked();
            Rect insetBounds = null;
            if (tempPinnedTaskBounds != null) {
                // We always use 0,0 as the position for the inset rect because
                // if we are getting insets at all in the pinned stack it must mean
                // we are headed for fullscreen.
            if (tempPinnedTaskBounds != null && stack.isAnimatingBoundsToFullscreen()) {
                // Use 0,0 as the position for the inset rect because we are headed for fullscreen.
                insetBounds = tempRect;
                insetBounds.top = 0;
                insetBounds.left = 0;