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

Commit 3b302a1f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 144ba122 1da4c747
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;
    }