fingerprint: Allow fps HAL to access sysfs_batteryinfo am: add3a60535

Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro-sepolicy/+/21309530

Change-Id: I59fa51da0877d90c7a35f87513a106fd98d1c17d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
eddielan 2023-02-08 05:08:27 +00:00 committed by Automerger Merge Worker
commit bb3aff7cb7

View file

@ -23,6 +23,10 @@ allow hal_fingerprint_capacitance fwk_stats_service:service_manager find;
allow hal_fingerprint_capacitance sysfs_leds:dir search; allow hal_fingerprint_capacitance sysfs_leds:dir search;
allow hal_fingerprint_capacitance sysfs_leds:file rw_file_perms; allow hal_fingerprint_capacitance sysfs_leds:file rw_file_perms;
# allow fingerprint to access sysfs_batteryinfo
allow hal_fingerprint_capacitance sysfs_batteryinfo:dir search;
allow hal_fingerprint_capacitance sysfs_batteryinfo:file rw_file_perms;
# 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;