Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 17262154 authored by Ikram Gabiyev's avatar Ikram Gabiyev
Browse files

[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
parent 025f8b58
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment