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

Commit e6d85ede authored by Julia Reynolds's avatar Julia Reynolds Committed by Android (Google) Code Review
Browse files

Merge "Fix persistence bug with toggle actions"

parents 1c95829a 7d7a7d94
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -513,7 +513,11 @@ public class NotificationConversationInfo extends LinearLayout implements

    @Override
    public boolean shouldBeSaved() {
        return mSelectedAction > -1;
        // Toggle actions are already saved by the time the guts are closed; save for any other
        // taps
        return mSelectedAction > -1
                && mSelectedAction != ACTION_FAVORITE
                && mSelectedAction != ACTION_MUTE;
    }

    @Override