summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Ikram Gabiyev <gabiyev@google.com> 2024-08-22 14:02:43 -0700
committer Ikram Gabiyev <gabiyev@google.com> 2024-08-26 14:39:56 -0700
commitcccf15a385370d2ba0fa378923c8061cab187b55 (patch)
tree35555aab1f02f9dda7911ddc392b5eadf888590a /libs/androidfw/ResourceTimer.cpp
parent3bc44be9ed2bbbb6e51c93bd7fd9be898be0a911 (diff)
Handle aspect ratio changes in PiP2
Make sure to resize and update PiP bounds if PiP2 flag is on upon an onTaskInfoChanged() signal from the client if the requested aspect ratio is different. Note that we are not using config-at-end for aspect ratio change. Also moved the movement bounds and pip bounds updates for resize transitions into PipScheduler, to avoid redundancy. Bug: 361333135 Flag: com.android.wm.shell.enable_pip2_implementation Test: atest PinnedStackTests#testChangeAspectRationWhenInPipMode Change-Id: Ic03c01f1b6a5e204e1cc52912cb352a5684f8495
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions