Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 11fbe5ec authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Avoid potential re-entry as a result of child mutation" into nyc-mr1-dev

parents 628ef54d b46ba3b2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
        }