Merge "Make NETWORK_STATUS notification to be blockable" into rvc-dev

This commit is contained in:
Lucas Lin
2020-03-12 04:53:13 +00:00
committed by Android (Google) Code Review

View File

@@ -116,6 +116,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(