summaryrefslogtreecommitdiff
path: root/packages/Shell
diff options
context:
space:
mode:
author Patrick Williams <pdwilliams@google.com> 2023-12-21 14:50:06 -0600
committer Patrick Williams <pdwilliams@google.com> 2024-02-01 09:26:21 -0600
commitc3aa8fee8c99f4f9da6bf2c84d6ef920fcbc920d (patch)
treeda224a98f850e798bd921e5905c55a1481d76702 /packages/Shell
parent47368cb3c40217ab0a7740acb293a61247bba6e0 (diff)
Add screen recording detection public APIs
Bug: 304574518 Flag: ACONFIG window_surfaces.screen_recording_callbacks DISABLED Test: ScreenRecordingCallbackTests Change-Id: I76ae2035d65989f17b620b16ae457e8fdd65cb9e
Diffstat (limited to 'packages/Shell')
-rw-r--r--packages/Shell/AndroidManifest.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml
index 32c7433761db..e99fcc92dea7 100644
--- a/packages/Shell/AndroidManifest.xml
+++ b/packages/Shell/AndroidManifest.xml
@@ -911,6 +911,9 @@
<!-- Permissions required for CTS test - CtsContactKeysProviderPrivilegedApp -->
<uses-permission android:name="android.permission.WRITE_VERIFICATION_STATE_E2EE_CONTACT_KEYS"/>
+ <!-- Permission required for Cts test ScreenRecordingCallbackTests -->
+ <uses-permission android:name="android.permission.DETECT_SCREEN_RECORDING" />
+
<application
android:label="@string/app_label"
android:theme="@android:style/Theme.DeviceDefault.DayNight"