Make NETWORK_STATUS notification to be blockable
Bug: 149749735 Test: Build pass Change-Id: I8cfb444197f9aeef4748fa263056716964a0e423 Merged-In: I8cfb444197f9aeef4748fa263056716964a0e423
This commit is contained in:
committed by
Lucas Lin
parent
735ed754b9
commit
213abc3f72
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user