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

Commit 5154bc63 authored by Riddle Hsu's avatar Riddle Hsu Committed by Android (Google) Code Review
Browse files

Merge "Exclude pip change from separated display change for mixed case" into main

parents 1050d44c 0ffcfb63
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -733,6 +733,7 @@ public class DefaultMixedHandler implements MixedTransitionHandler,
        // In order to play display level animation, force the type to CHANGE (it could be PIP).
        final TransitionInfo changeInfo = info.getType() != TRANSIT_CHANGE
                ? subCopy(info, TRANSIT_CHANGE, true /* withChanges */) : info;
        changeInfo.getChanges().remove(pipChange);
        final MixedTransition mixed = createDefaultMixedTransition(
                MixedTransition.TYPE_ENTER_PIP_WITH_DISPLAY_CHANGE, transition);
        mActiveTransitions.add(mixed);