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

Commit c3e46adc 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...

Merge "Update drawable matrix when bounds change in invalidateDrawable()" into mnc-dr-dev am: 840f3890
am: e3d74529

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