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

Commit 387ebba8 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: 66b3a0d1

Change-Id: Ia4ece22b06ef087921e8c341ec7112fd271598f2
parents 263820bb 66b3a0d1
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;
        }