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

Commit 8ef672a1 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix application got cropped after reparented to other displays"

parents 7cf932d0 b92aa02f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -305,7 +305,7 @@ class SurfaceAnimator {
                .setName(surface + " - animation-leash")
                .setName(surface + " - animation-leash")
                .setSize(width, height);
                .setSize(width, height);
        final SurfaceControl leash = builder.build();
        final SurfaceControl leash = builder.build();
        t.setWindowCrop(surface, width, height);
        t.setWindowCrop(leash, width, height);
        if (!hidden) {
        if (!hidden) {
            t.show(leash);
            t.show(leash);
        }
        }