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