am af6dd103: Merge "fix ImageView.getImageMatrix()" into jb-mr1-aah-dev
* commit 'af6dd103bd2bb0783b9364c703c2623260496d5c': fix ImageView.getImageMatrix()
This commit is contained in:
@@ -551,7 +551,10 @@ public class ImageView extends View {
|
||||
applied to the drawable, be sure to call setImageMatrix().
|
||||
*/
|
||||
public Matrix getImageMatrix() {
|
||||
return mMatrix;
|
||||
if (mDrawMatrix == null) {
|
||||
return Matrix.IDENTITY_MATRIX;
|
||||
}
|
||||
return mDrawMatrix;
|
||||
}
|
||||
|
||||
public void setImageMatrix(Matrix matrix) {
|
||||
|
||||
Reference in New Issue
Block a user