sepolicy/camera: support Laser AF

Stock uses same.

Change-Id: I9b37b0a9fe2e89e954dc577e53994f2c09971b9d
This commit is contained in:
John Galt 2022-10-21 21:09:29 -04:00 committed by Fazil Sheik
parent 2f8c221283
commit 5f8585b699
1 changed files with 4 additions and 0 deletions

View File

@ -22,3 +22,7 @@ allow hal_camera_default vendor_xdsp_device:chr_file r_file_perms;
# Allow hal_camera_default to read from input device
allow hal_camera_default input_device:dir read;
# Laser AF
allow hal_camera_default input_device:chr_file {ioctl read open};
allow hal_camera_default input_device:dir {read open search};