Allow access to additional emulator properties
"qemu.sf.fake_camera" is still used by emulator
for camera device selection.
Bug: 142964263
Test: Successful build + absent permission warnings
Change-Id: I96764edbaa71f66c567ffac6e3e383eca714dcec
diff --git a/shared/sepolicy/vendor/priv_app.te b/shared/sepolicy/vendor/priv_app.te
index 05c9e47..48af07f 100644
--- a/shared/sepolicy/vendor/priv_app.te
+++ b/shared/sepolicy/vendor/priv_app.te
@@ -1 +1,2 @@
gpu_access(priv_app)
+get_prop(priv_app, hal_camera_prop)
diff --git a/shared/sepolicy/vendor/property_contexts b/shared/sepolicy/vendor/property_contexts
index 5127c67..08c1150 100644
--- a/shared/sepolicy/vendor/property_contexts
+++ b/shared/sepolicy/vendor/property_contexts
@@ -1,6 +1,7 @@
bt.rootcanal_test_console u:object_r:hal_bluetooth_sim_prop:s0
qemu.sf.back_camera_caps u:object_r:hal_camera_prop:s0
qemu.sf.front_camera_caps u:object_r:hal_camera_prop:s0
+qemu.sf.fake_camera u:object_r:hal_camera_prop:s0
ro.boot.cuttlefish_config_server_port u:object_r:cuttlefish_config_server_port_prop:s0
ro.boot.fstab_name u:object_r:cf_fstab_name_prop:s0 exact string
ro.boot.hardware.egl u:object_r:cf_graphics_config_prop:s0 exact string