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

Commit 10a09f5e authored by Vishnu Nair's avatar Vishnu Nair
Browse files

Change animation-leash to be a container layer

Temporary revert to fix flicker issues.

Bug: b/149792636, b/150829791
Test: go/wm-smoke
Change-Id: I016dfd937ea844f0687195d1670471dfdcbd8cdd
parent d11f5678
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);