Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 94236c56 authored by Eric Laurent's avatar Eric Laurent Committed by Android (Google) Code Review
Browse files

Merge "add permission for AudioManager routing APIs." into lmp-preview-dev

parents 14830a33 01fae55d
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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"
+6 −0
Original line number Diff line number Diff line
@@ -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. -->