summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Ikram Gabiyev <gabiyev@google.com> 2024-11-19 10:50:00 -0800
committer Ikram Gabiyev <gabiyev@google.com> 2024-11-19 10:50:00 -0800
commit172621540c16d3f0ef19a0dae9ce721a78caab76 (patch)
tree19f6d3114d48a2a38861fd0e29caf6373727b9ae /libs/androidfw/ResourceTimer.cpp
parent025f8b58a19ed417351a2fdf01ec8f0e57e90ac8 (diff)
[PiP2] Start with non-null pip params
Apps and certain tests actually send empty PiP params with direct enterPictureInPictureMode() API calls, which ends up being converted to null when doing the fillTaskInfo() for TransitionInfo.Changes in Core. So we need to avoid NPEs in Shell when resolving these transitions. We do this by starting out with an empty pip params if a null one is provided through a Transitions PiP target. Bug: 379390590 Flag: com.android.wm.shell.enable_pip2 Test: atest PinnedStackTests#testNonTappablePipActivity Change-Id: I165d565f6a7e33ec3c0f5aa53d6fd1cebc2cdac7
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions