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
Loading
Please register or sign in to comment