Merge "Add input_device permission to hal_sensors_default"

This commit is contained in:
Treehugger Robot 2018-10-19 22:24:54 +00:00 committed by Gerrit Code Review
commit 24e2b82446

View File

@ -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;