sm8150-common: sepolicy: Label fingerprint-related properties
Change-Id: I76c5fbd2998a071387e47231d3f135ba02943ca3
This commit is contained in:
parent
f7097809b9
commit
e375dcc3b3
|
@ -22,3 +22,6 @@ allow hal_fingerprint_default proc_touchpanel:file rw_file_perms;
|
|||
# Allow hal_fingerprint_default access to sysfs nodes
|
||||
allow hal_fingerprint_default sysfs_fod:file rw_file_perms;
|
||||
allow hal_fingerprint_default sysfs_aod:file r_file_perms;
|
||||
|
||||
# Allow hal_fingerprint_default to set vendor_fingerprint_prop
|
||||
set_prop(hal_fingerprint_default, vendor_fingerprint_prop)
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
# Fingerprint properties
|
||||
type vendor_fingerprint_prop, property_type;
|
|
@ -1,3 +1,7 @@
|
|||
# Camera
|
||||
vendor.camera. u:object_r:vendor_camera_prop:s0
|
||||
camera.OPpictureId u:object_r:vendor_camera_prop:s0
|
||||
|
||||
# Fingerprint
|
||||
persist.vendor.sys.fp u:object_r:vendor_fingerprint_prop:s0
|
||||
persist.vendor.oem.fp u:object_r:vendor_fingerprint_prop:s0
|
||||
|
|
Loading…
Reference in New Issue