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

Skip to content
Commit a76c0f92 authored by Hongwei Wang's avatar Hongwei Wang
Browse files

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
parent 5f951629
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment