Force refresh of stateful when a child drawable is changed.

Change-Id: Ie17d4c8bceae385e597f3006fcd456be9ef53b97
This commit is contained in:
Craig Stout
2014-03-27 15:14:38 -07:00
parent a8d12f764c
commit 5ed67222fe

View File

@@ -295,6 +295,7 @@ public class LayerDrawable extends Drawable implements Drawable.Callback {
drawable.setCallback(this);
}
layers[i].mDrawable = drawable;
mLayerState.mHaveStateful = false;
return true;
}
}