Merge change 9124 into donut
* changes: Fix a bug in ImageView: The drawing matrix is not updated when setImageMatrix is called.
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user