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

Commit 78e6d584 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

Change-Id: I97528b39a7aac390f0f2f2bf9e77251b3021e931
parents fab06c08 bca18415
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;
    }