diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java index 206f9db292e1d..4299cfd4e7212 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java @@ -1102,6 +1102,10 @@ public class ExpandableNotificationRow extends ActivatableNotificationView /** The click listener for the snooze button. */ public View.OnClickListener getSnoozeClickListener(MenuItem item) { return v -> { + // Dismiss a snoozed notification if one is still left behind + mNotificationGutsManager.closeAndSaveGuts(true /* removeLeavebehind */, + false /* force */, false /* removeControls */, -1 /* x */, -1 /* y */, + false /* resetMenu */); mNotificationGutsManager.openGuts(this, 0, 0, item); }; }