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

Commit 0ef585ce authored by Ricardo Cerqueira's avatar Ricardo Cerqueira Committed by Gerrit Code Review
Browse files

Merge "Add permission RAW_AUDIO to obtain the "audio" gid." into gingerbread

parents 07914a40 0b9cdacb
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -448,6 +448,12 @@
        android:label="@string/permlab_recordAudio"
        android:description="@string/permdesc_recordAudio" />

    <permission android:name="android.permission.RAW_AUDIO"
        android:permissionGroup="android.permission-group.HARDWARE_CONTROLS"
        android:protectionLevel="dangerous"
        android:label="@string/permlab_rawAudio"
        android:description="@string/permdesc_rawAudio" />

    <!-- Required to be able to access the camera device.
         <p>This will automatically enforce the <a
         href="{@docRoot}guide/topics/manifest/uses-feature-element.html">{@code
+5 −0
Original line number Diff line number Diff line
@@ -921,6 +921,11 @@
        with the camera. This allows the application at any time to collect
        images the camera is seeing.</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_rawAudio">low-level audio access</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_rawAudio">Gives the application complete access to the audio hardware.</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_brick">permanently disable phone</string>
    <!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
+4 −0
Original line number Diff line number Diff line
@@ -77,6 +77,10 @@
        <group gid="theme_manager" />
    </permission>

    <permission name="android.permission.RAW_AUDIO" >
        <group gid="audio" />
    </permission>

    <!-- ================================================================== -->
    <!-- ================================================================== -->
    <!-- ================================================================== -->