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

Commit 840f3890 authored by Alan Viverette's avatar Alan Viverette Committed by Android (Google) Code Review
Browse files

Merge "Update drawable matrix when bounds change in invalidateDrawable()" into mnc-dr-dev

parents 1313020a 01320de8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -234,6 +234,8 @@ public class ImageView extends View {
                if (w != mDrawableWidth || h != mDrawableHeight) {
                    mDrawableWidth = w;
                    mDrawableHeight = h;
                    // updates the matrix, which is dependent on the bounds
                    configureBounds();
                }
            }
            /* we invalidate the whole view in this case because it's very