From dc752c40b853cda9d03786db212e1b7f9bf38c68 Mon Sep 17 00:00:00 2001 From: Emilian Peev Date: Thu, 25 Apr 2019 14:46:28 -0700 Subject: [PATCH] Allow vendor read access to 'ro.camera' property The Camera HIDL wrapper needs access to properties "ro.camera.req.fmq.size" and "ro.camera.res.fmq.size" which control the fast message queue size. Cases exist where the default size is not sufficient. The precise amount can be controlled by the respective device configuration which can set the previously mentioned properties. Bug: 77865891 Test: Manual using application Change-Id: I468bde2ee356e0d1d20f781fe6a3af48143cc4b2 --- sepolicy/vendor/property_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/sepolicy/vendor/property_contexts b/sepolicy/vendor/property_contexts index 7092f326..a8c28e77 100644 --- a/sepolicy/vendor/property_contexts +++ b/sepolicy/vendor/property_contexts @@ -1,4 +1,5 @@ persist.camera. u:object_r:camera_prop:s0 +ro.camera. u:object_r:camera_prop:s0 htc.camera. u:object_r:camera_prop:s0 persist.vendor.sys.cnd u:object_r:cnd_prop:s0 persist.sys.cnd u:object_r:cnd_prop:s0