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

Commit 73035910 authored by Hyunyoung Song's avatar Hyunyoung Song Committed by android-build-merger
Browse files

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

am: e54ad58a

Change-Id: I01b6fd2391e1296546291af5db5a4663e67fae01
parents e3a9c1e1 e54ad58a
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);