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

Skip to content
Commit ca128c5f authored by Hongwei Wang's avatar Hongwei Wang
Browse files

Update size constraints on aspect ratio change

With the recent change ag/26603167, PipController could miss the chance
to update the size constraints. As a result,
PipResizeGestureHelper#finishResize uses staled max size information at
the end of pinch-resize.

It's fixed in this CL as to let PipTouchHandler subscribe to aspect
ratio from PipBoundsState, which serves as the source of truth.

Long term, we should cleanup / consolidate the logic right now scatter
in PipTaskOrganizer / PipController / etc.

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/kZmKG4c8SiBS7fjg67Qek
Bug: 335311217
Test: manual, follow the reproduce steps
Change-Id: Ie5c7ad2536ecbbf6c1a015b60328de30dae7e10e
parent 8517bf06
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment