am 82fd8428: Merge "Protect against ImageView changing to a null Drawable during Transition." into lmp-mr1-dev

* commit '82fd842827fcdb3570d0c606bd049f42bf2b3fba':
  Protect against ImageView changing to a null Drawable during Transition.
This commit is contained in:
George Mount
2014-10-23 21:52:13 +00:00
committed by Android Git Automerger

View File

@@ -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 {