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

Skip to content
Commit bb55a7f1 authored by Ikram Gabiyev's avatar Ikram Gabiyev
Browse files

Update userResizeBounds onMovementBoundsChange

When exiting PiP, onActivityUnpinned() clears
PipResizeGestureHandler#mUserResizeBounds.
So we need to make sure they are updated to
normal bounds whenever movement bounds are updated.

Movement bounds will also be updated upon entering PiP
and upon aspect ratio changes.

Bug: 381350374
Flag: com.android.wm.shell.enable_pip2
Test: enter PiP, double-tap, tap expand menu icon, enter PiP, double-tap
Change-Id: Ib2064f2b8d6a05c45aaac76071d0e1946ee097f3
parent 27d12132
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment