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