summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/cts/safetycenter/src/android/safetycenter/cts/SafetyCenterNotificationTest.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/cts/safetycenter/src/android/safetycenter/cts/SafetyCenterNotificationTest.kt b/tests/cts/safetycenter/src/android/safetycenter/cts/SafetyCenterNotificationTest.kt
index 853490064..8c3b28c78 100644
--- a/tests/cts/safetycenter/src/android/safetycenter/cts/SafetyCenterNotificationTest.kt
+++ b/tests/cts/safetycenter/src/android/safetycenter/cts/SafetyCenterNotificationTest.kt
@@ -159,6 +159,7 @@ class SafetyCenterNotificationTest {
NotificationCharacteristics(title = "Notify immediately", text = "This is urgent!"))
}
+ @Test
fun setSafetySourceData_withNotificationsAllowedForSourceByFlag_sendsNotification() {
SafetyCenterFlags.notificationsAllowedSources = setOf(SINGLE_SOURCE_ID)
val data = safetySourceCtsData.recommendationWithAccountIssue