Allow hal_fingerprint_default to have pipe read access

Bug: 284488745
Test: atest BiometricsE2eTests:BiometricPromptAuthSuccessTest
Change-Id: Ie69193964232b1a6b97877c650182fcdcd5b2cea
This commit is contained in:
Jeff Pu 2023-05-26 18:26:38 +00:00
parent 46288c6b97
commit 1e09f2ebf7

View file

@ -8,3 +8,8 @@ init_daemon_domain(hal_fingerprint_default)
allow hal_fingerprint_default fwk_sensor_service:service_manager find; 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)
userdebug_or_eng(`
# Allow fingerprint hal to read app-created pipes (to respond shell commands from test apps)
allow hal_fingerprint_default appdomain:fifo_file read;
')