Avoid potential re-entry as a result of child mutation
am: b46ba3b2b0
Change-Id: I173c513ba82776f96ad05d1a5356b481f75b1040
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