autoCancelSummaryNotification

Controls whether the summary notification automatically dismisses when the user taps it.

By default, summary notifications remain visible after being tapped. Override this method and return true to make the summary notification automatically dismiss, similar to how individual notifications behave.

Recommendation: Return true if tapping the summary opens your app's main screen or a list of all items. Return false if the summary remains relevant after interaction. Example - Auto-dismiss summary:


  
  public boolean autoCancelSummaryNotification() {
      return true; // Summary dismisses when user taps it
  }

Return

true to automatically dismiss the summary notification when tapped, false to keep it visible (default behavior)