Merge "Don't filter demoted conversation from app subtext" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-03-30 20:03:45 +00:00
committed by Android (Google) Code Review
2 changed files with 71 additions and 2 deletions

View File

@@ -109,7 +109,7 @@ public class ZenModeBypassingAppsPreferenceController extends AbstractZenModePre
String pkg = entry.info.packageName;
for (NotificationChannel channel : mNotificationBackend
.getNotificationChannelsBypassingDnd(pkg, entry.info.uid).getList()) {
if (!TextUtils.isEmpty(channel.getConversationId())) {
if (!TextUtils.isEmpty(channel.getConversationId()) && !channel.isDemoted()) {
// conversation channels that bypass dnd will be shown on the People page
continue;
}