mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
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:
4
sepolicy/vendor/hal_camera.te
vendored
4
sepolicy/vendor/hal_camera.te
vendored
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user