summaryrefslogtreecommitdiff
path: root/packages/Shell
diff options
context:
space:
mode:
author Claudiu Ghioc <claudiughioc@google.com> 2022-11-14 10:46:44 +0000
committer Claudiu Ghioc <claudiughioc@google.com> 2022-12-09 17:35:02 +0000
commitc35acc237d3c68b6c49fc8dcd746d158e63d2d69 (patch)
tree8ad67598f9d716e63a535f6f41245374b004f843 /packages/Shell
parentd1f69b026ec33f4cd1d54087fa42636dee3726e9 (diff)
Add CDM profile for "nearby_device_streaming"
* add CDM profile and signature | privileged permission to use the profile * add the profile and the permission to the map of valid roles on the service side * update the CompanionDeviceActivity to handle the nearby_device_streaming profile * add relevant strings and icon for nearby_device_streaming * add "nearby_device_streaming" to MetricUtils Bug: 256140614 Test: atest CtsCompanionDeviceManagerCoreTestCases Test: atest CtsCompanionDeviceManagerNoCompanionServicesTestCases Test: atest CtsCompanionDeviceManagerUiAutomationTestCases Change-Id: I1a45395bcdbb13cf131bc7fb49d17d7928d76296 Signed-off-by: Claudiu Ghioc <claudiughioc@google.com>
Diffstat (limited to 'packages/Shell')
-rw-r--r--packages/Shell/AndroidManifest.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml
index 533ad1805076..627c445a38eb 100644
--- a/packages/Shell/AndroidManifest.xml
+++ b/packages/Shell/AndroidManifest.xml
@@ -321,6 +321,7 @@
<uses-permission android:name="android.permission.REQUEST_COMPANION_PROFILE_APP_STREAMING" />
<uses-permission android:name="android.permission.REQUEST_COMPANION_PROFILE_COMPUTER" />
<uses-permission android:name="android.permission.REQUEST_COMPANION_PROFILE_AUTOMOTIVE_PROJECTION" />
+ <uses-permission android:name="android.permission.REQUEST_COMPANION_PROFILE_NEARBY_DEVICE_STREAMING" />
<uses-permission android:name="android.permission.REQUEST_COMPANION_PROFILE_WATCH" />
<uses-permission android:name="android.permission.REQUEST_COMPANION_PROFILE_GLASSES" />
<uses-permission android:name="android.permission.REQUEST_COMPANION_SELF_MANAGED" />