Merge "Merge "Don't allow HUNs during dozing fullscreen intents" into rvc-dev am: 3b302a1fb5 am: 5923e34018" into rvc-d1-dev-plus-aosp am: 6c7a14d89d

Change-Id: Ifbe2379d5de578697b807a290263e895c816268f
This commit is contained in:
Automerger Merge Worker
2020-04-30 21:34:47 +00:00

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