sepolicy: allow hal_omx to access audio devices
hal_omx needs to access audio devices to use OMX HW decoders and encoders. Allow hal_omx to access audio devices. authored-by: Banajit Goswami <bgoswami@codeaurora.org> Change-Id: I742c29c4105e5647ca1a7e017e311559a0567b52
This commit is contained in:
parent
9596d6d4c7
commit
155ca12879
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ neverallow hal_audio_server { file_type fs_type }:file execute_no_trans;
|
|||
neverallow hal_audio_server domain:{ tcp_socket udp_socket rawip_socket } *;
|
||||
|
||||
# Only audio HAL may directly access the audio hardware
|
||||
neverallow { halserverdomain -hal_audio_server } audio_device:chr_file *;
|
||||
neverallow { halserverdomain -hal_audio_server -hal_omx_server } audio_device:chr_file *;
|
||||
|
||||
get_prop(hal_audio, bluetooth_a2dp_offload_prop)
|
||||
get_prop(hal_audio, bluetooth_audio_hal_prop)
|
||||
|
|
Loading…
Reference in a new issue