summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Ikram Gabiyev <gabiyev@google.com> 2025-02-18 12:00:39 -0800
committer Ikram Gabiyev <gabiyev@google.com> 2025-02-20 09:22:10 -0800
commitbbf788a7224401685cea16badc00c160917d0bee (patch)
treedb6c06db53715cc3dcc67fd70a956c1026f7aeb2 /libs/androidfw/FileStream.cpp
parent33957a5a6a01261255c4d36e132fe2e526875534 (diff)
[PiP2] Update size spec before enter PiP
Size spec updates are triggered when display change happens and we are in PiP, or when PiP aspect ratio changes. However there might be cases where size spec is left untouched. For instance, say we enter PiP with the default aspect ratio, exit PiP, then display change happens (updates the cached layout but not size spec). If we re-enter PiP at this point with the same aspect ratio, with the current logic, size spec will remain the same. Instead we wanna updaate the size spec no matter what upon entry, before calculating the entry destination bounds. Bug: 396522512 Flag: com.android.wm.shell.enable_pip2 Test: ABTD run v2/android-crystalball-eng/health/microbench /launcher/main/launcher-swipeupapptopip-jank-suite Change-Id: I48b7736d8609ebe74395bfdb66c7e4bacf71d646
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions