Fix recent regression in DrawableContainer.

Ensure optical insets are never null.

Bug:11537082
Change-Id: Ib75be83909fac612ae947f501835285cd8a79862
This commit is contained in:
John Spurlock
2013-11-05 17:45:33 -05:00
parent 65d4a84b98
commit f68bb66c6e

View File

@@ -60,7 +60,7 @@ public class DrawableContainer extends Drawable implements Drawable.Callback {
private long mExitAnimationEnd;
private Drawable mLastDrawable;
private Insets mInsets;
private Insets mInsets = Insets.NONE;
// overrides from Drawable