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

Commit ddf5a7dc authored by Kholoud Mohamed's avatar Kholoud Mohamed Committed by Gerrit Code Review
Browse files

Merge "Create new permission QUERY_AUDIO_STATE"

parents 531fcd63 b071084a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ package android {
    field public static final String NETWORK_SETTINGS = "android.permission.NETWORK_SETTINGS";
    field public static final String NETWORK_STACK = "android.permission.NETWORK_STACK";
    field public static final String OVERRIDE_DISPLAY_MODE_REQUESTS = "android.permission.OVERRIDE_DISPLAY_MODE_REQUESTS";
    field public static final String QUERY_AUDIO_STATE = "android.permission.QUERY_AUDIO_STATE";
    field public static final String QUERY_USERS = "android.permission.QUERY_USERS";
    field public static final String READ_CELL_BROADCASTS = "android.permission.READ_CELL_BROADCASTS";
    field public static final String READ_PRIVILEGED_PHONE_STATE = "android.permission.READ_PRIVILEGED_PHONE_STATE";
+5 −0
Original line number Diff line number Diff line
@@ -4117,6 +4117,11 @@
    <permission android:name="android.permission.MODIFY_AUDIO_ROUTING"
        android:protectionLevel="signature|privileged" />

    <!-- @TestApi Allows an application to query audio related state.
         @hide -->
    <permission android:name="android.permission.QUERY_AUDIO_STATE"
                android:protectionLevel="signature" />

    <!-- Allows an application to modify what effects are applied to all audio
         (matching certain criteria) from any application.
         <p>Not for use by third-party applications.</p>
+1 −0
Original line number Diff line number Diff line
@@ -184,6 +184,7 @@
    <uses-permission android:name="android.permission.SET_HARMFUL_APP_WARNINGS" />
    <uses-permission android:name="android.permission.MANAGE_SENSORS" />
    <uses-permission android:name="android.permission.MANAGE_AUDIO_POLICY" />
    <uses-permission android:name="android.permission.QUERY_AUDIO_STATE" />
    <uses-permission android:name="android.permission.MANAGE_CAMERA" />
    <!-- Permissions needed to test system only camera devices -->
    <uses-permission android:name="android.permission.CAMERA" />