diff --git a/vendor/hal_sensors_default.te b/vendor/hal_sensors_default.te index 1bde858cd..172e6864a 100644 --- a/vendor/hal_sensors_default.te +++ b/vendor/hal_sensors_default.te @@ -6,6 +6,9 @@ init_daemon_domain(hal_sensors_default) allow hal_sensors_default fwk_scheduler_hwservice:hwservice_manager find; +allow hal_sensors_default input_device:dir r_dir_perms; +allow hal_sensors_default input_device:chr_file r_file_perms; + # Allow sensor hals to access and use gralloc memory allocated by # android.hardware.graphics.allocator allow hal_sensors_default hal_graphics_allocator_default:fd use;