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

Commit 9faaa1ae authored by Adrian Roos's avatar Adrian Roos Committed by android-build-merger
Browse files

Merge \\"Notification: Respect disabled HUNs on updates\\" into nyc-dev am: 394cc084

am: 7f7951f6

Change-Id: I8573400aae3381568e1c7bcee580c05bec71aa95
parents 008b8f78 7f7951f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2495,7 +2495,7 @@ public abstract class BaseStatusBar extends SystemUI implements
    }

    protected boolean shouldPeek(Entry entry, StatusBarNotification sbn) {
        if (isDeviceInVrMode()) {
        if (!mUseHeadsUp || isDeviceInVrMode()) {
            return false;
        }

+1 −1
Original line number Diff line number Diff line
@@ -1409,7 +1409,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
        if (shadeEntry == null) {
            return;
        }
        boolean isHeadsUped = mUseHeadsUp && shouldPeek(shadeEntry);
        boolean isHeadsUped = shouldPeek(shadeEntry);
        if (isHeadsUped) {
            mHeadsUpManager.showNotification(shadeEntry);
            // Mark as seen immediately