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

Commit f6c763d6 authored by George Mount's avatar George Mount Committed by Alan Viverette
Browse files

Protect against ImageView changing to a null Drawable during Transition.

Bug 17600191

Change-Id: I5918866dbb6594725f4712a92acdef23003e8f3e
parent fcc059dc
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1120,6 +1120,9 @@ public class ImageView extends View {

    /** @hide */
    public void animateTransform(Matrix matrix) {
        if (mDrawable == null) {
            return;
        }
        if (matrix == null) {
            mDrawable.setBounds(0, 0, getWidth(), getHeight());
        } else {