Snap for 11526283 from 9c895c46b646e0c1736f15ae8fc1f192eb8cc5d0 to 24Q2-release
Change-Id: I0815a3ba7e6ee1186a8def94d0c0eddd8562e61e
diff --git a/private/virtual_camera.te b/private/virtual_camera.te
index dde98c0..45dc8a1 100644
--- a/private/virtual_camera.te
+++ b/private/virtual_camera.te
@@ -38,6 +38,9 @@
allow virtual_camera gpu_device:chr_file rw_file_perms;
allow virtual_camera gpu_device:dir r_dir_perms;
+# Allow virtual camera to use graphics composer fd-s (fences).
+allow virtual_camera hal_graphics_composer:fd use;
+
# For collecting bugreports.
allow virtual_camera dumpstate:fd use;
allow virtual_camera dumpstate:fifo_file write;