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

Commit 9eaa6041 authored by Alan Viverette's avatar Alan Viverette
Browse files

Don't change state when inflating LayerDrawable

Bug: 20098214
Change-Id: I6968697053587454bba42c0652efd99b9c8a8e25
parent a323e3f3
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -163,7 +163,6 @@ public class LayerDrawable extends Drawable implements Drawable.Callback {
        inflateLayers(r, parser, attrs, theme);

        ensurePadding();
        onStateChange(getState());
    }

    /**
@@ -303,7 +302,6 @@ public class LayerDrawable extends Drawable implements Drawable.Callback {
        }

        ensurePadding();
        onStateChange(getState());
    }

    @Override