summaryrefslogtreecommitdiff
path: root/packages/PackageInstaller
diff options
context:
space:
mode:
authorHall Liu <hallliu@google.com>2020-03-12 12:55:50 -0700
committerHall Liu <hallliu@google.com>2020-03-13 13:50:48 -0700
commit9866aa8b70fa83907d5a89b8a88e4b19200b259b (patch)
tree9d363765e98a856f7b5f64f70107a957b22323fd /packages/PackageInstaller
parent28ab493385d3b3875bfe0fd4b24633b633f85bb8 (diff)
Rename NotificationChannel#setBlockableSystem
Rename the method to setBlockable. Also rename isBlockableSystem in the same way. Fixes: 151311073 Test: atest NotificationChannelTest Change-Id: Ie25f8aed3c22b74d9ad2329863c4ffebbace03f7
Diffstat (limited to 'packages/PackageInstaller')
-rw-r--r--packages/PackageInstaller/src/com/android/packageinstaller/PackageInstalledNotificationUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/PackageInstaller/src/com/android/packageinstaller/PackageInstalledNotificationUtils.java b/packages/PackageInstaller/src/com/android/packageinstaller/PackageInstalledNotificationUtils.java
index 2ebbefaef85b..caf971800ad2 100644
--- a/packages/PackageInstaller/src/com/android/packageinstaller/PackageInstalledNotificationUtils.java
+++ b/packages/PackageInstaller/src/com/android/packageinstaller/PackageInstalledNotificationUtils.java
@@ -219,7 +219,7 @@ class PackageInstalledNotificationUtils {
channel.enableVibration(false);
channel.setSound(null, null);
channel.setLockscreenVisibility(Notification.VISIBILITY_PRIVATE);
- channel.setBlockableSystem(true);
+ channel.setBlockable(true);
mNotificationManager.createNotificationChannel(channel);
}