diff --git a/vendor/hal_fingerprint_default.te b/vendor/hal_fingerprint_default.te index 7173223a8..e380ebd2d 100644 --- a/vendor/hal_fingerprint_default.te +++ b/vendor/hal_fingerprint_default.te @@ -8,3 +8,8 @@ init_daemon_domain(hal_fingerprint_default) allow hal_fingerprint_default fwk_sensor_service:service_manager find; 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; +')