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

Commit af6dd103 authored by Dake Gu's avatar Dake Gu Committed by Android (Google) Code Review
Browse files

Merge "fix ImageView.getImageMatrix()" into jb-mr1-aah-dev

parents 76c28e54 1ee60179
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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) {