Allow biometrics hals to talk to the new AIDL sensorservice

This is being used in libsensorndkbridge now, so permissions are
required.

Test: atest CtsCameraTestCases && adb logcat | grep avc
Bug: 205764765
Change-Id: Id416cc2f92ba82d4068376a5f4d076137aab086a
This commit is contained in:
Devin Moore 2022-12-19 19:51:55 +00:00
parent a2765f212f
commit e632fc098a
2 changed files with 6 additions and 0 deletions

View file

@ -4,4 +4,7 @@ hal_server_domain(hal_face_default, hal_face)
type hal_face_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_face_default)
# android.frameworks.sensorservice through libsensorndkbridge
allow hal_face_default fwk_sensor_service:service_manager find;
set_prop(hal_face_default, virtual_face_hal_prop)

View file

@ -4,4 +4,7 @@ hal_server_domain(hal_fingerprint_default, hal_fingerprint)
type hal_fingerprint_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_fingerprint_default)
# android.frameworks.sensorservice through libsensorndkbridge
allow hal_fingerprint_default fwk_sensor_service:service_manager find;
set_prop(hal_fingerprint_default, virtual_fingerprint_hal_prop)