Avoid potential re-entry as a result of child mutation am: b46ba3b2b0

am: 0d98515cab

Change-Id: I521833b5d599d735be786b6fb6a1b9fa7f2f2533
This commit is contained in:
Alan Viverette
2016-07-27 22:52:07 +00:00
committed by android-build-merger

View File

@@ -851,8 +851,8 @@ public class DrawableContainer extends Drawable implements Drawable.Callback {
private Drawable prepareDrawable(Drawable child) {
child.setLayoutDirection(mLayoutDirection);
child.setCallback(mOwner);
child = child.mutate();
child.setCallback(mOwner);
return child;
}