Merge "Protect against ImageView changing to a null Drawable during Transition." into lmp-mr1-dev
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user