Allow some system channels to be blocked
Test: manual Bug: 38428796 Change-Id: If6853f1d847ade968d2bd3a7454ddce0fdda62f0
This commit is contained in:
@@ -232,7 +232,7 @@ public class ChannelNotificationSettings extends NotificationSettingsBase {
|
||||
mBlockBar.setKey(KEY_BLOCK);
|
||||
getPreferenceScreen().addPreference(mBlockBar);
|
||||
|
||||
if (mAppRow.systemApp && mChannel.getImportance() != NotificationManager.IMPORTANCE_NONE) {
|
||||
if (!isChannelBlockable(mAppRow.systemApp, mChannel)) {
|
||||
setVisible(mBlockBar, false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user