Merge "Fix FPS hwservice sepolicy issue" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
bf70ca168c
@@ -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)
|
||||
|
||||
1
fingerprint_capacitance/hwservice.te
Normal file
1
fingerprint_capacitance/hwservice.te
Normal file
@@ -0,0 +1 @@
|
||||
type hal_fingerprint_capacitance_ext_hwservice, hwservice_manager_type;
|
||||
2
fingerprint_capacitance/hwservice_contexts
Normal file
2
fingerprint_capacitance/hwservice_contexts
Normal 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
|
||||
Reference in New Issue
Block a user