Merge "Fix application got cropped after reparented to other displays"
This commit is contained in:
committed by
Android (Google) Code Review
commit
8ef672a1b9
@@ -305,7 +305,7 @@ class SurfaceAnimator {
|
||||
.setName(surface + " - animation-leash")
|
||||
.setSize(width, height);
|
||||
final SurfaceControl leash = builder.build();
|
||||
t.setWindowCrop(surface, width, height);
|
||||
t.setWindowCrop(leash, width, height);
|
||||
if (!hidden) {
|
||||
t.show(leash);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user