Make NETWORK_STATUS notification to be blockable

Bug: 149749735
Test: Build pass
Change-Id: I8cfb444197f9aeef4748fa263056716964a0e423
Merged-In: I8cfb444197f9aeef4748fa263056716964a0e423
This commit is contained in:
Automerger Merge Worker
2020-03-11 02:42:00 +00:00
committed by Lucas Lin
parent 735ed754b9
commit 213abc3f72

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(