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

Commit 2d925545 authored by Alan Viverette's avatar Alan Viverette Committed by Android (Google) Code Review
Browse files

Merge "Fix sharing of child bounsd within touch feedback drawable"

parents bae7b97f e106ac7f
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) {