diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-02-09 02:56:14 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-02-09 02:56:14 +0000 |
commit | d5bfd34a227c4f6ff0d0ce97f02be182e90e4cb4 (patch) | |
tree | 46e833fd83977eee746b01920dc670453d11c5c5 | |
parent | 5af22810906fd2cbe0c365e0ad17c4fde3f22038 (diff) | |
parent | b2c349a2cde336245d33218cd96b45e666d2f1a1 (diff) | |
download | tangorpro-sepolicy-android13-d2-release.tar.gz |
Merge cherrypicks of ['googleplex-android-review.googlesource.com/21309530'] into tm-d2-release.android-13.0.0_r55android13-d2-release
Change-Id: I3622cf86cced6a96cc5369d1d2d2219c6b39ea5c
-rw-r--r-- | fingerprint_capacitance/hal_fingerprint_capacitance.te | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fingerprint_capacitance/hal_fingerprint_capacitance.te b/fingerprint_capacitance/hal_fingerprint_capacitance.te index 8c78ee5..632086a 100644 --- a/fingerprint_capacitance/hal_fingerprint_capacitance.te +++ b/fingerprint_capacitance/hal_fingerprint_capacitance.te @@ -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: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 hal_fingerprint_capacitance input_device:dir r_dir_perms; allow hal_fingerprint_capacitance input_device:chr_file rw_file_perms; |