Merge "add permission for AudioManager routing APIs." into lmp-preview-dev
This commit is contained in:
@@ -2225,6 +2225,14 @@
|
||||
android:description="@string/permdesc_captureAudioHotword"
|
||||
android:protectionLevel="signature|system" />
|
||||
|
||||
<!-- Allows an application to modify audio routing and override policy decisions.
|
||||
<p>Not for use by third-party applications.</p>
|
||||
@hide -->
|
||||
<permission android:name="android.permission.MODIFY_AUDIO_ROUTING"
|
||||
android:label="@string/permlab_modifyAudioRouting"
|
||||
android:description="@string/permdesc_modifyAudioRouting"
|
||||
android:protectionLevel="signature|system" />
|
||||
|
||||
<!-- Allows an application to capture video output.
|
||||
<p>Not for use by third-party applications.</p> -->
|
||||
<permission android:name="android.permission.CAPTURE_VIDEO_OUTPUT"
|
||||
|
||||
@@ -1555,6 +1555,12 @@
|
||||
<string name="permdesc_captureAudioHotword">Allows the app to capture audio for Hotword detection. The capture can
|
||||
happen in the background but does not prevent other audio capture (e.g. Camcorder).</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_modifyAudioRouting">Audio Routing</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_modifyAudioRouting">Allows the app to directly control audio routing and
|
||||
override audio policy decisions.</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_captureVideoOutput">capture video output</string>
|
||||
<!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
|
||||
|
||||
Reference in New Issue
Block a user