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

Commit 3e584428 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 9124 into donut

* changes:
  Fix a bug in ImageView: The drawing matrix is not updated when setImageMatrix is called.
parents c134c281 f8887265
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -463,6 +463,7 @@ public class ImageView extends View {
        if (matrix == null && !mMatrix.isIdentity() ||
        if (matrix == null && !mMatrix.isIdentity() ||
                matrix != null && !mMatrix.equals(matrix)) {
                matrix != null && !mMatrix.equals(matrix)) {
            mMatrix.set(matrix);
            mMatrix.set(matrix);
            configureBounds();
            invalidate();
            invalidate();
        }
        }
    }
    }