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

Commit e3d74529 authored by Alan Viverette's avatar Alan Viverette Committed by android-build-merger
Browse files

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

am: 840f3890

* commit '840f3890':
  Update drawable matrix when bounds change in invalidateDrawable()
parents ee15f087 840f3890
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