diff options
| author | 2024-04-22 16:33:40 -0700 | |
|---|---|---|
| committer | 2024-04-22 16:43:30 -0700 | |
| commit | ca128c5f2abb7b213f49adf5e9b4d967f446ddeb (patch) | |
| tree | db4dd9ff8f3b5100efe5e88a0aa6809e27bffdab /libs/input/PointerController.cpp | |
| parent | 8517bf06c0863ab8b0163f416966b8e3ba5384cb (diff) | |
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
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions