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

This commit is contained in:
George Mount
2014-10-23 21:46:52 +00:00
committed by Android (Google) Code Review

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 {