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

Commit dd281cde authored by Ikram Gabiyev's avatar Ikram Gabiyev
Browse files

[PiP2] Generalize legacy-enter filter

We need to make isLegacyEnter check more
generic and accurte to allow for legacy-enter cases
that can have other changes collected into the TRANSIT_PIP
transition as well, such as trampoline activity launch case
reported in the bug below.

Also adding a wtf log for cases where enter PiP was scheduled
one way or another but PipTransition.startAnimation is about to
be skipped as a playing handler.

Bug: 403637164
Flag: com.android.wm.shell.enable_pip2
Test: manually repro the steps in b/403637164#comment8
Test: legacy-enter PiP from a Whatsapp call (with a task filling TF)
Change-Id: I16139501d5126192cf51a79e21522a48df8cd644
parent f4ae3169
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment