mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-22 21:56:26 -08:00
LG8n: sepolicy: configure fingerprint sepolicy
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
6494ca911b
commit
67fd96acee
4
sepolicy/vendor/hal_fingerprint_default.te
vendored
4
sepolicy/vendor/hal_fingerprint_default.te
vendored
|
@ -9,5 +9,9 @@ allow hal_fingerprint_default sysfs_fp_name_path:file rw_file_perms;
|
|||
allow hal_fingerprint_default vndbinder_device:chr_file { ioctl read write getattr lock append map open watch watch_reads };
|
||||
allow hal_fingerprint_default vendor_gf_data_file:dir create_dir_perms;
|
||||
allow hal_fingerprint_default vendor_gf_data_file:file create_file_perms;
|
||||
allow hal_fingerprint_default property_socket:sock_file write;
|
||||
|
||||
get_prop(hal_fingerprint_default, vendor_system_prop)
|
||||
set_prop(hal_fingerprint_default, vendor_system_prop)
|
||||
set_prop(hal_fingerprint_default, ctl_default_prop)
|
||||
set_prop(hal_fingerprint_default, vendor_fingerprint_prop)
|
||||
|
|
3
sepolicy/vendor/property_contexts
vendored
3
sepolicy/vendor/property_contexts
vendored
|
@ -21,6 +21,9 @@ persist.vendor.sys.fp.goodix.spmt.flag u:object_r:vendor_fingerprint_prop:s
|
|||
vendor.fp.goodix.X.offset u:object_r:vendor_fingerprint_prop:s0
|
||||
vendor.fp.goodix.Y.offset u:object_r:vendor_fingerprint_prop:s0
|
||||
vendor.fp.transsion.lcmname u:object_r:vendor_fingerprint_prop:s0
|
||||
vendor.fp.currentUid u:object_r:vendor_fingerprint_prop:s0
|
||||
persist.vendor.fp.sensorUid u:object_r:vendor_fingerprint_prop:s0
|
||||
|
||||
|
||||
# Key manager
|
||||
ro.mtk_key_manager_support u:object_r:vendor_mtk_default_prop:s0
|
||||
|
|
Loading…
Reference in a new issue