Merge "Don't show dnd suppressed icons on aod" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
67fd7ad761
@@ -215,16 +215,13 @@ public class NotificationIconAreaController implements DarkReceiver,
|
|||||||
if (entry.isRowDismissed() && hideDismissed) {
|
if (entry.isRowDismissed() && hideDismissed) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hideRepliedMessages && entry.isLastMessageFromReply()) {
|
if (hideRepliedMessages && entry.isLastMessageFromReply()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// showAmbient == show in shade but not shelf
|
// showAmbient == show in shade but not shelf
|
||||||
if (!showAmbient && entry.shouldSuppressStatusBar()) {
|
if ((!showAmbient || mFullyDark) && entry.shouldSuppressStatusBar()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user