diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/NotificationInterruptStateProviderImpl.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/NotificationInterruptStateProviderImpl.java index 324bc923fb354..fefad531377fb 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/NotificationInterruptStateProviderImpl.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/NotificationInterruptStateProviderImpl.java @@ -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; }