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

Commit 48326abd authored by Ben Lin's avatar Ben Lin Committed by Automerger Merge Worker
Browse files

Merge "PiP: Update menu bounds before showing the menu." into sc-dev am: 9b8c0184

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15001386

Change-Id: I5e6296df574638d18c0764b481cea23546486a2c
parents 9a657be8 9b8c0184
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -278,6 +278,10 @@ public class PhonePipMenuController implements PipMenuController {
            return;
        }

        // Sync the menu bounds before showing it in case it is out of sync.
        movePipMenu(null /* pipLeash */, null /* transaction */, stackBounds);
        updateMenuBounds(stackBounds);

        mPipMenuView.showMenu(menuState, stackBounds, allowMenuTimeout, willResizeMenu, withDelay,
                showResizeHandle);
    }