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

Skip to content
Commit 8003d4cb authored by Vinit Nayak's avatar Vinit Nayak
Browse files

Keep split on top when going to Pip if not swipe to home

* If main or side stage have a child, we move that stage to
be on top when performing the split to pip transition.
* We also prevent the stage with a child from dismissing in
DefaultMixedHandler#animateEnterPipFromSplit
* In both cases we use isSplitScreenVisible() as our proxy to determine
if we're dismissing one of the split pairs vs swiping up to home,
since in the swipe up case split becomes invisible and then Pip requests
to be shown as a separate transition

Bug: 293254265
Test: Steps don't repro. Pip shows up and hides when it's supposed to.
There's a KI quickswitch issue but happens w/o this change
(b/303722342)

Change-Id: I7892ac1612ab2dccdd81c0bece987aab3ad69194
parent 6b49b83a
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