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

Commit e106ac7f authored by Alan Viverette's avatar Alan Viverette
Browse files

Fix sharing of child bounsd within touch feedback drawable

Change-Id: I13f2f32fb618f07bd967d98d6369399f1d790125
parent 012785d8
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -485,7 +485,10 @@ public class TouchFeedbackDrawable extends LayerDrawable {
        } else if (state == null) {
            ns = new TouchFeedbackState(null, this, res);
        } else {
            ns = state;
            // We always need a new state since child drawables contain local
            // state but live within the parent's constant state.
            // TODO: Move child drawables into local state.
            ns = new TouchFeedbackState(state, this, res);
        }

        if (res != null) {