Restrict sensitive notifications from untrusted listeners
Redact notifications containing sensitive information to listeners
that are not trusted
Bug: 301960090
Bug: 313709930
Flag: ACONFIG android.service.notification.redact_sensitive_notifications_from_untrusted_listeners DISABLED
Test: atest SensitiveNotificationRedactionTest
Change-Id: I60e2810da2abc3b2e730904599798f7f87eb7ed8
diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml
index bacab0f..6e65c16 100644
--- a/packages/Shell/AndroidManifest.xml
+++ b/packages/Shell/AndroidManifest.xml
@@ -882,6 +882,9 @@
<!-- Permissions required for CTS test - CtsAccessibilityServiceTestCases-->
<uses-permission android:name="android.permission.ACCESSIBILITY_MOTION_EVENT_OBSERVING" />
+ <!-- Permission required for Cts test - CtsNotificationTestCases -->
+ <uses-permission android:name="android.permission.RECEIVE_SENSITIVE_NOTIFICATIONS" />
+
<application
android:label="@string/app_label"
android:theme="@android:style/Theme.DeviceDefault.DayNight"