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

Commit ffcc7cfc authored by Selim Cinek's avatar Selim Cinek
Browse files

Removed the ripple for actions with remote inputs

Bug: 69168591
Test: click on inline reply, observe no ripple on action
Change-Id: I8ad9e419d8475dc632df16f03d8ca1b6317803d2
parent 0b45fa9e
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -4617,10 +4617,15 @@ public class Notification implements Parcelable
                if (N>MAX_ACTION_BUTTONS) N=MAX_ACTION_BUTTONS;
                for (int i=0; i<N; i++) {
                    Action action = mActions.get(i);
                    validRemoteInput |= hasValidRemoteInput(action);
                    boolean actionHasValidInput = hasValidRemoteInput(action);
                    validRemoteInput |= actionHasValidInput;

                    final RemoteViews button = generateActionButton(action, emphazisedMode,
                            i % 2 != 0, p.ambient);
                    if (actionHasValidInput) {
                        // Clear the drawable
                        button.setInt(R.id.action0, "setBackgroundResource", 0);
                    }
                    big.addView(R.id.actions, button);
                }
            } else {