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

Commit b3773d73 authored by Perry Wu's avatar Perry Wu Committed by Android (Google) Code Review
Browse files

Merge "[PIP2] Fix NPE crash when entering Maps" into main

parents fc463999 9b30bb6d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -420,7 +420,8 @@ public class PipTransition extends PipTransitionController implements
        }

        // Update the src-rect-hint in params in place, to set up initial animator transform.
        params.getSourceRectHint().set(adjustedSourceRectHint);
        params.copyOnlySet(new PictureInPictureParams.Builder()
                .setSourceRectHint(adjustedSourceRectHint).build());

        // Config-at-end transitions need to have their activities transformed before starting
        // the animation; this makes the buffer seem like it's been updated to final size.