diff options
author | Hall Liu <hallliu@google.com> | 2020-03-19 21:06:52 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-03-19 21:06:52 +0000 |
commit | 58f7ed03176149e6d896f61a33cbb16eb5092467 (patch) | |
tree | cbc70b70c8dcd20ec243ab32c8f3e44507ae75c3 /service | |
parent | 220a670353dc5f6944522a294989a483c2a06466 (diff) | |
parent | 609a1eb579bdc1ff72727b761b6af32c8368ea25 (diff) |
Merge "Rename NotificationChannel#setBlockableSystem" into rvc-dev
Diffstat (limited to 'service')
-rw-r--r-- | service/java/com/android/server/wifi/WifiService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/java/com/android/server/wifi/WifiService.java b/service/java/com/android/server/wifi/WifiService.java index 8794aa325..552afd49f 100644 --- a/service/java/com/android/server/wifi/WifiService.java +++ b/service/java/com/android/server/wifi/WifiService.java @@ -94,7 +94,7 @@ public final class WifiService extends SystemService { ctx.getResources().getString( com.android.wifi.resources.R.string.notification_channel_network_alerts), NotificationManager.IMPORTANCE_HIGH); - networkAlertsChannel.setBlockableSystem(true); + networkAlertsChannel.setBlockable(true); channelsList.add(networkAlertsChannel); final NotificationChannel networkAvailable = new NotificationChannel( @@ -102,7 +102,7 @@ public final class WifiService extends SystemService { ctx.getResources().getString( com.android.wifi.resources.R.string.notification_channel_network_available), NotificationManager.IMPORTANCE_LOW); - networkAvailable.setBlockableSystem(true); + networkAvailable.setBlockable(true); channelsList.add(networkAvailable); nm.createNotificationChannels(channelsList); |