0

Android P gives capability to disable a notification group. If this group is disabled by the user, will notifications belonging to a channel in the group be displayed? (assuming the channel is still enabled)

piet.t
  • 11,718
  • 21
  • 43
  • 52
Aparna
  • 463
  • 5
  • 16

1 Answers1

2

In your example, notifications belonging to that channel will not be displayed. A notification channel will be blocked if the channel group it belongs to is blocked. From the documentation for NotificationChannel.getImportance():

..notifications posted to this channel will not be shown to the user if the parent NotificationChannelGroup or app is blocked.

mike47
  • 2,217
  • 1
  • 27
  • 50