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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user