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

Commit f2783afc authored by Ari Hausman-Cohen's avatar Ari Hausman-Cohen
Browse files

Add permission for dynamic AudioEffect attachment

Add signature or system permission
"android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS" for AudioEffect APIs
allowing system services and applications to modify what effects get
automatically attached to streams/sources/devices of various types.

This permission is hidden for now, since this API is not yet approved
for mainline Android.

Bug: 67964202, 70300942
Test: None
Change-Id: I51b4e3a939e16221633448f646e5129e1a62dd23
parent dbeabcaf
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -3248,6 +3248,13 @@
    <permission android:name="android.permission.MODIFY_AUDIO_ROUTING"
        android:protectionLevel="signature|privileged" />

    <!-- 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>
         @hide -->
    <permission android:name="android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS"
        android:protectionLevel="signature|privileged" />

    <!-- @SystemApi Allows an application to capture video output.
         <p>Not for use by third-party applications.</p> -->
    <permission android:name="android.permission.CAPTURE_VIDEO_OUTPUT"