Avoid potential re-entry as a result of child mutation am: b46ba3b2b0
am: 0d98515cab
Change-Id: I521833b5d599d735be786b6fb6a1b9fa7f2f2533
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user