summaryrefslogtreecommitdiff
path: root/core/java/android/util/SparseSetArray.java
diff options
context:
space:
mode:
authorHongwei Wang <hwwang@google.com>2022-05-12 13:01:51 -0700
committerHongwei Wang <hwwang@google.com>2022-05-12 13:10:34 -0700
commita76c0f92f457b43f678be2123b274da94e6cf43c (patch)
tree49d0130780ead0a1ed567c5756dfc524b57cf31d /core/java/android/util/SparseSetArray.java
parent5f951629d3e4dc3271979a418a51f48da84e9d62 (diff)
Do not offset PiP when auto-enter-pip is ongoing
This is fix the problem when - Swiping an auto-enter-pip enabled Activity to home AND - Launcher activity gets destroyed and finishes the recents animation then - WMShell nevers gets onTaskAppeared for PiP since the Activity actually does not enter PiP - However, WMShell does receive shelf height change in response to the re-creation of Launcher activity - Therefore, WMShell tries to animating a blank leash using the default setup (like, default aspect ratio) and it's visible since we set the shadow radius on it Fix this in WMShell by not allowing offset PiP while auto-enter-pip animation is ongoing. Bug: 232184236 Test: follow the reproduce step in bug Change-Id: Idef3806c9e34813b39127d270138501d441c0884
Diffstat (limited to 'core/java/android/util/SparseSetArray.java')
0 files changed, 0 insertions, 0 deletions