Skip to content
Snippets Groups Projects
Commit 03754b18 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Allow audioserver to access audio_device on non-Treble devices."

parents caf6dafc 6e8bfa2d
No related branches found
No related tags found
No related merge requests found
...@@ -46,6 +46,9 @@ allow audioserver audio_data_file:file create_file_perms; ...@@ -46,6 +46,9 @@ allow audioserver audio_data_file:file create_file_perms;
# allow access to ALSA MMAP FDs for AAudio API # allow access to ALSA MMAP FDs for AAudio API
allow audioserver audio_device:chr_file { read write }; allow audioserver audio_device:chr_file { read write };
not_full_treble(`allow audioserver audio_device:dir r_dir_perms;')
not_full_treble(`allow audioserver audio_device:chr_file rw_file_perms;')
# For A2DP bridge which is loaded directly into audioserver # For A2DP bridge which is loaded directly into audioserver
unix_socket_connect(audioserver, bluetooth, bluetooth) unix_socket_connect(audioserver, bluetooth, bluetooth)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment