summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Ikram Gabiyev <gabiyev@google.com> 2024-11-20 10:54:00 -0800
committer Ikram Gabiyev <gabiyev@google.com> 2024-11-20 10:54:00 -0800
commit0508c7f409c37e6b125f2416d0286499f7ba2663 (patch)
tree9cddcdb47c2eaf67d64726610cf5ac22a4ece5a6 /libs/androidfw/ResourceTimer.cpp
parent777bbee092fdedfc57ccae03eddf0d04936571db (diff)
[PiP2] [2/2] Start with a non-null pip params
We need to make sure PiP params are not null when swiping home to PiP as well. This is because a client can call into enterPictureInPictureMode() with an empty PiP params which Core's fillTaskInfo() will resolve as a null pip params. So always operate on a non-null PictureInPictureParams to avoid NPE. Do the same for expand animation too, when querying cached params. Bug: 376141728 Flag: com.android.wm.shell.enable_pip2 Test: swipe-pip-to-home with an invalid src-rect-hint Change-Id: I7bb1158bd0593788a1e1514f538c0a433841ad61
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions