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

Commit 8985d16a 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

Change-Id: Ibb1b69ea313a45637558add62503a05133b3e7a9
parents 41fb3028 394cc084
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2491,7 +2491,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