I've noticed that a channel importance is IMPORTANCE_DEFAULT
(3) when all app notifications are off (on Android 10).
So when all app notifications are off,
NotificationManagerCompat.areNotificationsEnabled()
returns false
, and that is expected,
but channel != null
returns false
and channel.importance
returns 3
, which corresponds to IMPORTANCE_DEFAULT
, and that seems to be odd.
Is that expected behavior? I didn't find anything about that in Andoid developers docs.
Asked
Active
Viewed 14 times
0

Ksenia
- 3,453
- 7
- 31
- 63