android_device_xiaomi_sm835.../sepolicy/vendor/hal_camera_default.te
Arian 3bd4fbc7d7 sm8350-common: sepolicy: Allow camera hal to read mnt_vendor_file
This is necessary to find the dualcamera calibration in persist

Change-Id: I89d5d7839e13aeb2f5373b8bdc2e03830407cfb0
2022-09-27 12:12:25 +02:00

7 lines
263 B
Plaintext

type camera_persist_file, vendor_persist_type, file_type;
vendor_internal_prop(vendor_camera_sensor_prop)
set_prop(hal_camera_default, vendor_camera_sensor_prop)
r_dir_file(hal_camera_default, camera_persist_file)
r_dir_file(hal_camera_default, mnt_vendor_file)