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

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

Remove the state when forcefully remove overlay

The state check in PipTaskOrganizer#removeContentOverlay was added to
avoid double removal of the overlay. This has been addressed
alternatively by checking the leash state.

On the other hand, the state check does prevent the leash removal in the
fail-safe, since the state could have been set to undefined (since it's
moved from pip to full-screen).

Flag: EXEMPT bugfix
Bug: 352771711
Bug: 327405289
Test: restart Maps when it's entering PiP
Test: atest --iteration 5 \
      CtsWindowManagerDeviceOther:PinnedStackTests \
      FrameworksCoreTests:ActivityThreadTest \
      WmTests:ScreenshotTests \
      WmTests:TaskStackChangedListenerTest
Change-Id: I627d674128568b047e5b490252d2620307b6ab21
parent 0adfd5f3
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