Skip to content

Commit 4b71e4e

Browse files
author
Jeff Brown
committed
Add permissions to control and configure wifi display.
Change-Id: I54af6da53b7243516becd6a3d5985c0feda6c225
1 parent 4d0b562 commit 4b71e4e

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

core/res/AndroidManifest.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1446,6 +1446,22 @@
14461446
android:description="@string/permdesc_readFrameBuffer"
14471447
android:protectionLevel="signature|system" />
14481448

1449+
<!-- Allows an application to configure and connect to Wifi displays
1450+
@hide -->
1451+
<permission android:name="android.permission.CONFIGURE_WIFI_DISPLAY"
1452+
android:label="@string/permlab_configureWifiDisplay"
1453+
android:description="@string/permdesc_configureWifiDisplay"
1454+
android:protectionLevel="signature" />
1455+
1456+
<!-- Allows an application to control low-level features of Wifi displays
1457+
such as opening an RTSP socket. This permission should only be used
1458+
by the display manager.
1459+
@hide -->
1460+
<permission android:name="android.permission.CONTROL_WIFI_DISPLAY"
1461+
android:label="@string/permlab_controlWifiDisplay"
1462+
android:description="@string/permdesc_controlWifiDisplay"
1463+
android:protectionLevel="signature" />
1464+
14491465
<!-- Required to be able to disable the device (very dangerous!). -->
14501466
<permission android:name="android.permission.BRICK"
14511467
android:label="@string/permlab_brick"

core/res/res/values/strings.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,6 +1190,16 @@
11901190
<!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
11911191
<string name="permdesc_readFrameBuffer">Allows the app to read the content of the frame buffer.</string>
11921192

1193+
<!-- Title of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
1194+
<string name="permlab_configureWifiDisplay">configure Wifi displays</string>
1195+
<!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
1196+
<string name="permdesc_configureWifiDisplay">Allows the app to configure and connect to Wifi displays.</string>
1197+
1198+
<!-- Title of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
1199+
<string name="permlab_controlWifiDisplay">control Wifi displays</string>
1200+
<!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
1201+
<string name="permdesc_controlWifiDisplay">Allows the app to control low-level features of Wifi displays.</string>
1202+
11931203
<!-- Title of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
11941204
<string name="permlab_modifyAudioSettings">change your audio settings</string>
11951205
<!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->

0 commit comments

Comments
 (0)