diff --git a/sepolicy/vendor/hal_audio_default.te b/sepolicy/vendor/hal_audio_default.te new file mode 100644 index 0000000..7bf24a7 --- /dev/null +++ b/sepolicy/vendor/hal_audio_default.te @@ -0,0 +1,11 @@ +# Allow access to the HALs +hal_client_domain(hal_audio_default, hal_sensors) + +# Allow binder communication with hal_sensors_default +binder_call(hal_audio_default, hal_sensors_default) + +# Allow hal_audio_default to find hal_sensors_hwservice +allow hal_audio_default hal_sensors_hwservice:hwservice_manager find; + +# Allow hal_audio_default to read files in mnt_vendor_file +r_dir_file(hal_audio_default, mnt_vendor_file)