From 89380c19c83e008c7b7fd66c74ca89da0539a225 Mon Sep 17 00:00:00 2001 From: Changyeon Jo Date: Wed, 22 Mar 2023 00:46:46 +0000 Subject: [PATCH] Allow EVS HAL to access graphics related properties EVS Display HAL needs to access graphics related properties to configure a pipeline to render the contents of graphics buffers. Bug: 274695271 Test: m -j selinux_policy Change-Id: I97a8a3f35f7118325cff9a8ae69485c0f73fe17f --- vendor/hal_evs_default.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vendor/hal_evs_default.te b/vendor/hal_evs_default.te index 59d6c391a..0bdb7fdf7 100644 --- a/vendor/hal_evs_default.te +++ b/vendor/hal_evs_default.te @@ -29,3 +29,6 @@ allow hal_evs_default gpu_device:dir search; # allow to monitor uevents and access video devices allow hal_evs_default device:dir r_dir_perms; allow hal_evs_default video_device:chr_file rw_file_perms; + +# allow to access graphics related properties +get_prop(hal_evs_default, graphics_config_prop);