Skip to content
Snippets Groups Projects
Commit a42faff5 authored by Kim Low's avatar Kim Low Committed by Brian Duddie
Browse files

Add input_device permission to hal_sensors_default

This is done so that /dev/input/event* nodes can be read by
dynamic sensors framework.

Bug: 38511270
Change-Id: Ib017c5621a8b7e08ddfa088453d061a6537a2a1c
parent 3784e7fc
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,9 @@ init_daemon_domain(hal_sensors_default) ...@@ -6,6 +6,9 @@ init_daemon_domain(hal_sensors_default)
allow hal_sensors_default fwk_scheduler_hwservice:hwservice_manager find; 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 # Allow sensor hals to access and use gralloc memory allocated by
# android.hardware.graphics.allocator # android.hardware.graphics.allocator
allow hal_sensors_default hal_graphics_allocator_default:fd use; allow hal_sensors_default hal_graphics_allocator_default:fd use;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment