Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f9fb30f5 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android (Google) Code Review
Browse files

Merge "Hide notifications when occluded and disabled on keyguard" into lmp-dev

parents 4c866929 da30a03d
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1625,10 +1625,11 @@ public abstract class BaseStatusBar extends SystemUI implements
                }
            }
            boolean showOnKeyguard = shouldShowOnKeyguard(entry.notification);
            if (onKeyguard && (visibleNotifications >= maxKeyguardNotifications
                    || !showOnKeyguard)) {
            if ((isLockscreenPublicMode() && !showOnKeyguard) ||
                    (onKeyguard && (visibleNotifications >= maxKeyguardNotifications
                            || !showOnKeyguard))) {
                entry.row.setVisibility(View.GONE);
                if (showOnKeyguard) {
                if (onKeyguard && showOnKeyguard) {
                    mKeyguardIconOverflowContainer.getIconsView().addNotification(entry);
                }
            } else {