Merge changes Id4ac3552,I2068f6f4 am: 4828451231 am: 5d06d48197

am: 8c8eeb7ff3

Change-Id: Idc532bb948b8dc9d0570441ca397bdb1e104cbce
This commit is contained in:
Peng Xu 2017-09-15 03:36:08 +00:00 committed by android-build-merger
commit dc420a1efa

View File

@ -6,5 +6,11 @@ init_daemon_domain(hal_sensors_default)
allow hal_sensors_default fwk_scheduler_hwservice:hwservice_manager find;
# 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;
allow hal_sensors_default ion_device:chr_file r_file_perms;
# allow sensor hal to use lock for keeping system awake for wake up
# events delivery.
wakelock_use(hal_sensors_default);