Skip to content
Snippets Groups Projects
Commit 746c61f0 authored by Yin-Chia Yeh's avatar Yin-Chia Yeh
Browse files

Camera: sepolicy for external camera

Allow external camera HAL to monitor video device add/removal.

Bug: 64874137
Change-Id: I1a3116a220df63c0aabb3c9afd7450552e6cd417
parent 30793234
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,7 @@ binder_call(hal_camera_server, hal_camera_client) ...@@ -5,6 +5,7 @@ binder_call(hal_camera_server, hal_camera_client)
add_hwservice(hal_camera_server, hal_camera_hwservice) add_hwservice(hal_camera_server, hal_camera_hwservice)
allow hal_camera_client hal_camera_hwservice:hwservice_manager find; allow hal_camera_client hal_camera_hwservice:hwservice_manager find;
allow hal_camera device:dir r_dir_perms;
allow hal_camera video_device:dir r_dir_perms; allow hal_camera video_device:dir r_dir_perms;
allow hal_camera video_device:chr_file rw_file_perms; allow hal_camera video_device:chr_file rw_file_perms;
allow hal_camera camera_device:chr_file rw_file_perms; allow hal_camera camera_device:chr_file rw_file_perms;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment