Skip to content
Snippets Groups Projects
Commit f1e9f7eb authored by Yin-Chia Yeh's avatar Yin-Chia Yeh Committed by android-build-merger
Browse files

Merge "Camera: allow various FD usage for hal_camera" am: 3355de13

am: c91e0f30

Change-Id: I4f66c40c456130e611b2ee0d22090a8d77f7400c
parents 451d9e58 c91e0f30
No related branches found
No related tags found
No related merge requests found
...@@ -13,8 +13,11 @@ allow hal_camera ion_device:chr_file rw_file_perms; ...@@ -13,8 +13,11 @@ allow hal_camera ion_device:chr_file rw_file_perms;
# Both the client and the server need to use the graphics allocator # Both the client and the server need to use the graphics allocator
allow { hal_camera_client hal_camera_server } hal_graphics_allocator:fd use; allow { hal_camera_client hal_camera_server } hal_graphics_allocator:fd use;
# Allow hal_camera to use fence FD from surface owned by application # Allow fd to be passed between hal_camera related processes
allow hal_camera appdomain:fd use; allow hal_camera { appdomain -isolated_app }:fd use;
allow { appdomain -isolated_app } hal_camera:fd use;
allow hal_camera surfaceflinger:fd use;
allow mediaserver hal_camera:fd use;
### ###
### neverallow rules ### neverallow rules
......
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