am ecaea7e6: Merge "Force refresh of stateful when a child drawable is changed." into klp-modular-dev

* commit 'ecaea7e60c0992ac295163f55c1f986a46eef008':
  Force refresh of stateful when a child drawable is changed.
This commit is contained in:
Craig Stout
2014-03-31 19:08:24 +00:00
committed by Android Git Automerger

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;
}
}