Merge "Create sepolicy for the fingerprint GHBM sysprop" into sc-dev

This commit is contained in:
TreeHugger Robot 2021-04-09 02:11:57 +00:00 committed by Android (Google) Code Review
commit 4a3f3550f5
5 changed files with 19 additions and 8 deletions

View file

@ -3,4 +3,5 @@ allow hal_fingerprint_default tee_device:chr_file rw_file_perms;
allow hal_fingerprint_default sysfs_batteryinfo:file r_file_perms;
allow hal_fingerprint_default sysfs_batteryinfo:dir search;
allow hal_fingerprint_default self:netlink_socket create_socket_perms_no_ioctl;
get_prop(hal_fingerprint_default, fingerprint_ghbm_prop)
add_hwservice(hal_fingerprint_default, hal_fingerprint_ext_hwservice)

View file

@ -9,3 +9,6 @@ allow platform_app nfc_service:service_manager find;
allow platform_app touch_context_service:service_manager find;
binder_call(platform_app, twoshay)
# Fingerprint (UDFPS) GHBM/LHBM toggle
get_prop(platform_app, fingerprint_ghbm_prop)