Merge "Make NETWORK_STATUS notification to be blockable"

This commit is contained in:
Lucas Lin
2020-03-11 01:22:23 +00:00
committed by Gerrit Code Review

View File

@@ -108,6 +108,7 @@ public class SystemNotificationChannels {
NETWORK_STATUS,
context.getString(R.string.notification_channel_network_status),
NotificationManager.IMPORTANCE_LOW);
network.setBlockableSystem(true);
channelsList.add(network);
final NotificationChannel networkAlertsChannel = new NotificationChannel(