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

Commit a666d805 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Change animation-leash to be a container layer" into rvc-dev

parents 49a6387d 10a09f5e
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -379,10 +379,8 @@ class SurfaceAnimator {
        final SurfaceControl.Builder builder = animatable.makeAnimationLeash()
                .setParent(animatable.getAnimationLeashParent())
                .setHidden(hidden)
                .setName(surface + " - animation-leash")
                .setColorLayer();
                .setName(surface + " - animation-leash");
        final SurfaceControl leash = builder.build();
        t.unsetColor(leash);
        t.setWindowCrop(leash, width, height);
        t.setPosition(leash, x, y);
        t.show(leash);