From 2f5f3de7508db1d248cd1a7e466732e20d334546 Mon Sep 17 00:00:00 2001 From: Cosmin Tanislav Date: Tue, 19 Oct 2021 08:12:51 +0300 Subject: [PATCH] sm8350-common: sepolicy: allow inscreen fingerprint hal to send command to xiaomi hwservice --- sepolicy/vendor/hal_lineage_fod_default.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sepolicy/vendor/hal_lineage_fod_default.te b/sepolicy/vendor/hal_lineage_fod_default.te index 4198197..b4017f4 100644 --- a/sepolicy/vendor/hal_lineage_fod_default.te +++ b/sepolicy/vendor/hal_lineage_fod_default.te @@ -4,6 +4,9 @@ allow hal_lineage_fod_default vendor_sysfs_fod:file rw_file_perms; allow hal_lineage_fod_default vendor_sysfs_graphics:dir r_dir_perms; allow hal_lineage_fod_default vendor_sysfs_graphics:file rw_file_perms; +allow hal_lineage_fod_default vendor_hal_fingerprint_hwservice_xiaomi:hwservice_manager { find }; + binder_call(hal_lineage_fod_default, hal_fingerprint_default) +binder_call(hal_lineage_fod_default, vendor_mfp-daemon) hal_client_domain(hal_lineage_fod_default, hal_fingerprint)