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

Commit 05d48504 authored by Dake Gu's avatar Dake Gu Committed by Android Git Automerger
Browse files

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

* commit 'af6dd103':
  fix ImageView.getImageMatrix()
parents aa516b10 af6dd103
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) {