sm8250-common: Allow Goodix FOD HAL to access perf HAL

* For somehow reason Xiaomi decided to implement perf locks in the HAL, not in fingerprint HIDL, so I'm forced to allow it

Change-Id: I4472f9768858916231f19c765d8aa74d8c3b401a
This commit is contained in:
Sebastiano Barezzi 2021-05-05 15:00:40 +02:00
parent 1b3fbae7b0
commit e17a33df36
No known key found for this signature in database
GPG Key ID: 47760583F393BC44

View File

@ -1,9 +1,13 @@
# Allow access to the HALs
hal_client_domain(hal_fingerprint_default, vendor_hal_perf)
hal_client_domain(hal_fingerprint_default, hal_power)
# Allow binder communication with hal_power_default
binder_call(hal_fingerprint_default, hal_power_default)
# Allow binder communication with vendor_hal_perf_default
binder_call(hal_fingerprint_default, vendor_hal_perf_default)
allow hal_fingerprint_default fingerprint_data_file:dir rw_dir_perms;
allow hal_fingerprint_default fingerprint_data_file:file create_file_perms;