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

Change-Id: Iff00d322f2e267e6ceec346f3ca2e2bd7f3fc230
This commit is contained in:
TreeHugger Robot
2020-04-30 21:15:55 +00:00
committed by Automerger Merge Worker

View File

@@ -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;
}