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:
parent
a2765f212f
commit
e632fc098a
2 changed files with 6 additions and 0 deletions
3
vendor/hal_face_default.te
vendored
3
vendor/hal_face_default.te
vendored
|
@ -4,4 +4,7 @@ hal_server_domain(hal_face_default, hal_face)
|
||||||
type hal_face_default_exec, exec_type, vendor_file_type, file_type;
|
type hal_face_default_exec, exec_type, vendor_file_type, file_type;
|
||||||
init_daemon_domain(hal_face_default)
|
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)
|
set_prop(hal_face_default, virtual_face_hal_prop)
|
||||||
|
|
3
vendor/hal_fingerprint_default.te
vendored
3
vendor/hal_fingerprint_default.te
vendored
|
@ -4,4 +4,7 @@ hal_server_domain(hal_fingerprint_default, hal_fingerprint)
|
||||||
type hal_fingerprint_default_exec, exec_type, vendor_file_type, file_type;
|
type hal_fingerprint_default_exec, exec_type, vendor_file_type, file_type;
|
||||||
init_daemon_domain(hal_fingerprint_default)
|
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)
|
set_prop(hal_fingerprint_default, virtual_fingerprint_hal_prop)
|
||||||
|
|
Loading…
Reference in a new issue