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

Commit 0d98515c authored by Alan Viverette's avatar Alan Viverette Committed by android-build-merger
Browse files

Avoid potential re-entry as a result of child mutation

am: b46ba3b2

Change-Id: I173c513ba82776f96ad05d1a5356b481f75b1040
parents 52724b49 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;
        }