From c117a13dadf941d80029aeb40405d507092e5da8 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Tue, 10 Aug 2021 17:23:50 -0400 Subject: [PATCH] Oplus fingerprint HAL needs to set some persist.vendor properties On stock rom, those properties' SELinux context is set in /system To prevent SELinux conflicts, just allow all vendor props --- sepolicy/oppo.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sepolicy/oppo.te b/sepolicy/oppo.te index 7b2133d..216ba3c 100644 --- a/sepolicy/oppo.te +++ b/sepolicy/oppo.te @@ -1,3 +1,6 @@ type sysfs_usb_supply, file_type; allow system_app sysfs_usb_supply:file rw_file_perms; + +type hal_fingerprint_oplus, domain; +allow hal_fingerprint_oplus vendor_default_prop:property_service set;