Merge "Make NETWORK_STATUS notification to be blockable"
This commit is contained in:
@@ -108,6 +108,7 @@ public class SystemNotificationChannels {
|
|||||||
NETWORK_STATUS,
|
NETWORK_STATUS,
|
||||||
context.getString(R.string.notification_channel_network_status),
|
context.getString(R.string.notification_channel_network_status),
|
||||||
NotificationManager.IMPORTANCE_LOW);
|
NotificationManager.IMPORTANCE_LOW);
|
||||||
|
network.setBlockableSystem(true);
|
||||||
channelsList.add(network);
|
channelsList.add(network);
|
||||||
|
|
||||||
final NotificationChannel networkAlertsChannel = new NotificationChannel(
|
final NotificationChannel networkAlertsChannel = new NotificationChannel(
|
||||||
|
|||||||
Reference in New Issue
Block a user