diff options
| author | 2024-08-14 14:30:54 -0700 | |
|---|---|---|
| committer | 2024-08-20 01:34:31 +0000 | |
| commit | bf2b82beb47b587a2606d986c5c88b731486f5eb (patch) | |
| tree | baefdfe7543148cb3969348abcfd18bb65c6c1f2 /libs/androidfw/StringPool.cpp | |
| parent | a914484298bedfda9d8b480c672dd3f35a4d2173 (diff) | |
Check if activity entering PiP is a top activity
We need to make sure we handle any trampoline activity
start cases where, for instance, some Activity A,
start another activity B on creation, but then,
the activity A calls to enterPictureInPictureMode().
This also fixes an issue with the AE case which is why
the earlier version of this CL was reverted at ag/28822947
Bug: 359944953
Flag: com.android.wm.shell.enable_pip2_implementation
Test: atest PinnedStackTests#testAutoEnterPictureInPictureLaunchActivity
Test: atest SplitAttributesCalculatorTest
Change-Id: I30a28ad60a01d3f2192644ef150b22f7f36f7220
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions