Merge "Rename NotificationChannel#setBlockableSystem" into rvc-dev am: 64e48c2061

Change-Id: I9224f80e87ab21b00ce78427c093b5b686c9ddea
This commit is contained in:
Hall Liu
2020-03-19 21:09:09 +00:00
committed by Automerger Merge Worker
4 changed files with 7 additions and 7 deletions

View File

@@ -467,7 +467,7 @@ public class NotificationChannelSlice implements CustomSliceable {
return true;
}
return channel.isBlockableSystem()
return channel.isBlockable()
|| channel.getImportance() == IMPORTANCE_NONE;
}

View File

@@ -134,7 +134,7 @@ public abstract class NotificationPreferenceController extends AbstractPreferenc
return channel.getImportance() == IMPORTANCE_NONE;
}
return channel.isBlockableSystem() || !mAppRow.systemApp
return channel.isBlockable() || !mAppRow.systemApp
|| channel.getImportance() == IMPORTANCE_NONE;
}
return false;