summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Ikram Gabiyev <gabiyev@google.com> 2024-01-02 16:31:44 -0800
committer Ikram Gabiyev <gabiyev@google.com> 2024-01-08 16:54:59 -0800
commitb8041b1b95d1663b6f7801f1b92ef7ec67ebada5 (patch)
tree8e1dc888521b7d5a0debff7754e3f1b52bbc6bf0 /libs/androidfw/ZipFileRO.cpp
parent1d00de07dd549e6ae6f7593afe491d64c1685385 (diff)
Use launcher app bounds to reset PiP icon overlay
Use PipTaskOrganizer#stopSwipePipToHome() to cache the app bounds by launcher in Shell's PiP component. These can later be used to properly calculate the overlay size to reset its scale and offset properly in PipTransition#onFinishResize(). This makes sure the icon overlay is properly set for cases such as fixed rotation and swipe to PiP with pinned taskbar. Also make sure the app bounds are correct for button navigation enter pip flow by setting them in PipTransition#startEnterAnimation(). Recording following repro steps with this fix applied: http://recall/-/da2uuq57YtQRpR4N9NryZR The bug report contains recording for before this fix. Bug: 316993346 Test: manually enter PiP w/ fixed rotation at 90 and 270 deg Test: manually enter PiP w/ pinned task bar on large screens Change-Id: Iff392b6c8d6a3268e13e05d7cc0107218255e400
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions