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

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

Allow other PiP changes in remote-and-PiP case

It is possible that a transition with a remote registered
ends up collecting a change involving a PiP task, for example
due to that PiP activity finishing; and these cases do not
have to be limited to enter-PiP type changes (like upon
notification tap to enter PiP).

So instead, generalize openIntentWithRemoteAndPipOrDesktop
type of mixed transition to pluck out other types of PiP changes
when PiP2 is enabled and route them through mPipHandler#startAnimation()
which will itself choose a proper animation for the PiP part of the
transition.

Also added a new DefaultMixedTransitionTest unit test to check for
PiP + remote cases being split properly as a mixed transition.

Bug: 442588134
Flag: EXEMPT bugfix
Test: atest WMShellUnitTests:DefaultMixedTransitionTest

Change-Id: I9349cfae64293b61d3783d1223545b91f4c0fc10
parent b516ca3a
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