diff options
| author | Hongwei Wang <hwwang@google.com> | 2022-05-04 15:16:45 -0700 |
|---|---|---|
| committer | Hongwei Wang <hwwang@google.com> | 2022-05-10 10:10:30 -0700 |
| commit | 0e2a67bb701d232a723539e2493588be30036347 (patch) | |
| tree | 8a654009bf753ed44388af4884c0fb00dd478080 /core/java/android/util/SparseSetArray.java | |
| parent | 6e086786752aa188dd1d59e0335728ffa1ebf6f6 (diff) | |
Completely remove pinned task when starting a new PiP
When a new ActivityRecord tries to replace the existing PiP by
explicitly call enterPictureInPictureMode (normally a cause of in-app
enter PiP button), it's more desirable that the old PiP disappears
instead of turning into full-screen at the same time, as the
Task#dismissPip is trying to do.
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/ebskmHfvlcwKa3OSBFONWY
Bug: 231294285
Test: following the reproduce steps, see video
Test: atest PinnedStackTests
Change-Id: Ib4fb9be03d1a26a7046c303124224b0ecccabecb
Diffstat (limited to 'core/java/android/util/SparseSetArray.java')
0 files changed, 0 insertions, 0 deletions
