Make CAPTURE_VIDEO_OUTPUT privileged again
Restricting CAPTURE_VIDEO_OUTPUT permission in ag/4779804 preents the system from binding to RemoteDisplayProviders.
This breaks a legitimate use case of casting a device from Settings.
We temporarily soft revert the change pending a better solution.
Bug: 113371538
Test: Manually tested by casting to a Chrome Cast device.
Change-Id: If8f7fd775998d1b7bcdf9f72fe92cb86845f2044
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index 5258518..f845bd0 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -3345,7 +3345,7 @@
@hide
@removed -->
<permission android:name="android.permission.CAPTURE_VIDEO_OUTPUT"
- android:protectionLevel="signature" />
+ android:protectionLevel="signature|privileged" />
<!-- Allows an application to capture secure video output.
<p>Not for use by third-party applications.</p>