Merge "PiP: Update menu bounds before showing the menu." into sc-dev am: 9b8c01844b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15001386 Change-Id: I784a90cb3c34da81ec5840a0b3996c24c7ca0d32
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user