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

Commit 7de6312d authored by Shailesh Saini's avatar Shailesh Saini Committed by Android (Google) Code Review
Browse files

Merge "AdaptiveIconDrawable should not update layer bounds when bound is empty" into oc-dev

parents 35a855de 89809584
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -289,6 +289,9 @@ public class AdaptiveIconDrawable extends Drawable implements Drawable.Callback
    }

    private void updateLayerBounds(Rect bounds) {
        if (bounds.isEmpty()) {
            return;
        }
        try {
            suspendChildInvalidation();
            updateLayerBoundsInternal(bounds);