diff --git a/public/hal_drm.te b/public/hal_drm.te index d86edaf98..598749134 100644 --- a/public/hal_drm.te +++ b/public/hal_drm.te @@ -24,6 +24,9 @@ allow hal_drm cgroup:file w_file_perms; allow hal_drm ion_device:chr_file rw_file_perms; allow hal_drm hal_graphics_allocator:fd use; +# Allow access to hidl_memory allocation service +allow hal_drm hal_allocator_server:fd use; + # Allow access to fds allocated by mediaserver allow hal_drm mediaserver:fd use; diff --git a/vendor/hal_drm_default.te b/vendor/hal_drm_default.te index cf8d894ee..e534762a8 100644 --- a/vendor/hal_drm_default.te +++ b/vendor/hal_drm_default.te @@ -6,5 +6,3 @@ init_daemon_domain(hal_drm_default) allow hal_drm_default hal_codec2_server:fd use; allow hal_drm_default hal_omx_server:fd use; - -allow hal_drm_default hal_allocator_server:fd use;