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

Commit 01047d91 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: 5923e340

Change-Id: I92b17dab362c4ad3b2f64ef523f924627c9a7641
parents 6ac42544 5923e340
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;
    }