hal_camera: Allow access to sensor calibration file

To allow the camera HAL to export lens calibration data measured
for tango_core, it needs access to the same calibration file.

Bug: 70565622
Bug: 63629224
Test: Builds
Change-Id: Ia891dc442e1f01b827ba8533f4d77f26e1f61b3b
This commit is contained in:
Eino-Ville Talvala
2018-01-04 17:24:22 -08:00
parent 80fc3d69c9
commit 32eb479e66

View File

@@ -45,3 +45,7 @@ allow hal_camera sysfs_easel:file rw_file_perms;
# access hexagon
allow hal_camera qdsp_device:chr_file r_file_perms;
# lens calibration file
allow hal_camera persist_sensors_file:dir search;
allow hal_camera persist_sensors_file:file { getattr open read };