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

Commit b435ced1 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Don't allow HUNs during dozing fullscreen intents" into rvc-dev am:...

Merge "Don't allow HUNs during dozing fullscreen intents" into rvc-dev am: 3b302a1f am: bca18415 am: 78e6d584

Change-Id: I0b1dd86bbaea99ee8f0107640c968cf94874798e
parents 0b436d6b 78e6d584
Loading
Loading
Loading
Loading
+8 −7
Original line number Diff line number Diff line
@@ -336,6 +336,14 @@ public class NotificationInterruptStateProviderImpl implements NotificationInter
                return false;
            }
        }

        if (entry.hasJustLaunchedFullScreenIntent()) {
            if (DEBUG_HEADS_UP) {
                Log.d(TAG, "No alerting: recent fullscreen: " + sbn.getKey());
            }
            return false;
        }

        return true;
    }

@@ -365,13 +373,6 @@ public class NotificationInterruptStateProviderImpl implements NotificationInter
            return false;
        }

        if (entry.hasJustLaunchedFullScreenIntent()) {
            if (DEBUG_HEADS_UP) {
                Log.d(TAG, "No alerting: recent fullscreen: " + sbn.getKey());
            }
            return false;
        }

        return true;
    }