Merge "Don't show dnd suppressed icons on aod" into qt-dev

This commit is contained in:
TreeHugger Robot
2019-04-04 23:42:57 +00:00
committed by Android (Google) Code Review

View File

@@ -215,16 +215,13 @@ public class NotificationIconAreaController implements DarkReceiver,
if (entry.isRowDismissed() && hideDismissed) {
return false;
}
if (hideRepliedMessages && entry.isLastMessageFromReply()) {
return false;
}
// showAmbient == show in shade but not shelf
if (!showAmbient && entry.shouldSuppressStatusBar()) {
if ((!showAmbient || mFullyDark) && entry.shouldSuppressStatusBar()) {
return false;
}
return true;
}