Fix FPS hwservice sepolicy issue am: bfba5df7e5 am: d115259d9e

Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20207303

Change-Id: I0fcaa595a18089800256b6ac489d6048a5e9e2fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
eddielan 2022-10-18 03:47:48 +00:00 committed by Automerger Merge Worker
commit ba38cbe06d
3 changed files with 7 additions and 0 deletions

View file

@ -22,3 +22,7 @@ allow hal_fingerprint_capacitance fwk_stats_service:service_manager find;
# allow fingerprint to access input_device
allow hal_fingerprint_capacitance input_device:dir r_dir_perms;
allow hal_fingerprint_capacitance input_device:chr_file rw_file_perms;
# allow fingerprint to access hwservice
hwbinder_use(hal_fingerprint_capacitance)
add_hwservice(hal_fingerprint_capacitance, hal_fingerprint_capacitance_ext_hwservice)

View file

@ -0,0 +1 @@
type hal_fingerprint_capacitance_ext_hwservice, hwservice_manager_type;

View file

@ -0,0 +1,2 @@
com.fingerprints42.extension::IFingerprintEngineering u:object_r:hal_fingerprint_capacitance_ext_hwservice:s0
com.fingerprints42.extension::IFingerprintSensorTest u:object_r:hal_fingerprint_capacitance_ext_hwservice:s0