Don't show dnd suppressed icons on aod
The aod icons are from the shelf. When DND is suppressing status bar icons and aod is on (mFullyDark), still don't show the icons that would show on AOD (if DND wasn't on). Test: manual Test: atest NotificationIconAreaControllerTest Fixes: 122636236 Change-Id: I4680ea1c88427207274da48a6ab69f0c00a3ac69
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user