Merge "Change animation-leash to be a container layer" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a666d80531
@@ -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