Add system property for cameraserver -> app fmq metadata size
cameraserver used to earlier depend on reading a vendor property
which is not allowed by selinux. Add a system property instead.
Bug: 399723640
Test: GCA; No selinux errors reported
Flag: EXEMPT; bugfix
Change-Id: I4e1c31725930ad4a037955849d5ac41926766233
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
diff --git a/private/property_contexts b/private/property_contexts
index d7c2c94..ef2a788 100644
--- a/private/property_contexts
+++ b/private/property_contexts
@@ -508,6 +508,7 @@
ro.camera.enableVirtualCamera u:object_r:camera_config_prop:s0 exact bool
ro.camera.disableHeicUltraHDR u:object_r:camera_config_prop:s0 exact bool
ro.camera.enableSWHEVC u:object_r:camera_config_prop:s0 exact bool
+ro.camera.resultFmqSize u:object_r:camera_config_prop:s0 exact int
ro.camerax.extensions.enabled u:object_r:camerax_extensions_prop:s0 exact bool