diff options
author | Hall Liu <hallliu@google.com> | 2020-03-12 12:55:50 -0700 |
---|---|---|
committer | Hall Liu <hallliu@google.com> | 2020-03-13 13:50:48 -0700 |
commit | 9866aa8b70fa83907d5a89b8a88e4b19200b259b (patch) | |
tree | 9d363765e98a856f7b5f64f70107a957b22323fd /packages/PackageInstaller | |
parent | 28ab493385d3b3875bfe0fd4b24633b633f85bb8 (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.java | 2 |
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); } |