Fix FPS hwservice sepolicy issue am: bfba5df7e5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/20207303 Change-Id: I361bbefb1d4f7bfc46c3f61471cd500db5370543 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
d115259d9e
3 changed files with 7 additions and 0 deletions
|
@ -22,3 +22,7 @@ allow hal_fingerprint_capacitance fwk_stats_service:service_manager find;
|
||||||
# allow fingerprint to access input_device
|
# allow fingerprint to access input_device
|
||||||
allow hal_fingerprint_capacitance input_device:dir r_dir_perms;
|
allow hal_fingerprint_capacitance input_device:dir r_dir_perms;
|
||||||
allow hal_fingerprint_capacitance input_device:chr_file rw_file_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
|
Loading…
Add table
Add a link
Reference in a new issue