diff options
| -rw-r--r-- | core/res/AndroidManifest.xml | 16 | ||||
| -rwxr-xr-x | core/res/res/values/strings.xml | 10 |
2 files changed, 26 insertions, 0 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 23a412f34468..d0427f07ce51 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -1446,6 +1446,22 @@ android:description="@string/permdesc_readFrameBuffer" android:protectionLevel="signature|system" /> + <!-- Allows an application to configure and connect to Wifi displays + @hide --> + <permission android:name="android.permission.CONFIGURE_WIFI_DISPLAY" + android:label="@string/permlab_configureWifiDisplay" + android:description="@string/permdesc_configureWifiDisplay" + android:protectionLevel="signature" /> + + <!-- Allows an application to control low-level features of Wifi displays + such as opening an RTSP socket. This permission should only be used + by the display manager. + @hide --> + <permission android:name="android.permission.CONTROL_WIFI_DISPLAY" + android:label="@string/permlab_controlWifiDisplay" + android:description="@string/permdesc_controlWifiDisplay" + android:protectionLevel="signature" /> + <!-- Required to be able to disable the device (very dangerous!). --> <permission android:name="android.permission.BRICK" android:label="@string/permlab_brick" diff --git a/core/res/res/values/strings.xml b/core/res/res/values/strings.xml index 1e7e9fbd8deb..f65d5b0f09ba 100755 --- a/core/res/res/values/strings.xml +++ b/core/res/res/values/strings.xml @@ -1191,6 +1191,16 @@ <string name="permdesc_readFrameBuffer">Allows the app to read the content of the frame buffer.</string> <!-- Title of an application permission, listed so the user can choose whether they want to allow the application to do this. --> + <string name="permlab_configureWifiDisplay">configure Wifi displays</string> + <!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. --> + <string name="permdesc_configureWifiDisplay">Allows the app to configure and connect to Wifi displays.</string> + + <!-- Title of an application permission, listed so the user can choose whether they want to allow the application to do this. --> + <string name="permlab_controlWifiDisplay">control Wifi displays</string> + <!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. --> + <string name="permdesc_controlWifiDisplay">Allows the app to control low-level features of Wifi displays.</string> + + <!-- Title of an application permission, listed so the user can choose whether they want to allow the application to do this. --> <string name="permlab_modifyAudioSettings">change your audio settings</string> <!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. --> <string name="permdesc_modifyAudioSettings">Allows the app to modify global audio settings such as volume and which speaker is used for output.</string> |