Merge "Allow apps to read packagemanager_config_prop"
diff --git a/private/property_contexts b/private/property_contexts
index 15cc010..d56c89c 100644
--- a/private/property_contexts
+++ b/private/property_contexts
@@ -258,6 +258,9 @@
audio.offload.video u:object_r:audio_config_prop:s0 exact bool
audio.offload.min.duration.secs u:object_r:audio_config_prop:s0 exact int
+ro.audio.ignore_effects u:object_r:audio_config_prop:s0 exact bool
+ro.audio.monitorRotation u:object_r:audio_config_prop:s0 exact bool
+
config.disable_cameraservice u:object_r:camera_config_prop:s0 exact bool
camera.disable_zsl_mode u:object_r:camera_config_prop:s0 exact bool
@@ -372,8 +375,6 @@
ro.apk_verity.mode u:object_r:apk_verity_prop:s0 exact int
-ro.audio.monitorRotation u:object_r:exported3_default_prop:s0 exact bool
-
ro.bluetooth.a2dp_offload.supported u:object_r:bluetooth_a2dp_offload_prop:s0 exact bool
ro.boot.vendor.overlay.theme u:object_r:exported_overlay_prop:s0 exact string
@@ -547,8 +548,6 @@
ro.arch u:object_r:exported2_default_prop:s0 exact string
-ro.audio.ignore_effects u:object_r:exported2_default_prop:s0 exact bool
-
ro.baseband u:object_r:exported2_default_prop:s0 exact string
ro.boot.avb_version u:object_r:exported2_default_prop:s0 exact string
diff --git a/private/zygote.te b/private/zygote.te
index 07154b0..4ae427d 100644
--- a/private/zygote.te
+++ b/private/zygote.te
@@ -172,6 +172,9 @@
allow zygote same_process_hal_file:file { execute read open getattr map };
+# Allow the zygote to access storage properties to check if sdcardfs is enabled.
+get_prop(zygote, storage_config_prop);
+
# Let the zygote access overlays so it can initialize the AssetManager.
get_prop(zygote, overlay_prop)
get_prop(zygote, exported_overlay_prop)
diff --git a/public/hal_audio.te b/public/hal_audio.te
index 5958f2c..eb8155b 100644
--- a/public/hal_audio.te
+++ b/public/hal_audio.te
@@ -33,5 +33,6 @@
# Only audio HAL may directly access the audio hardware
neverallow { halserverdomain -hal_audio_server -hal_omx_server } audio_device:chr_file *;
+get_prop(hal_audio, audio_config_prop)
get_prop(hal_audio, bluetooth_a2dp_offload_prop)
get_prop(hal_audio, bluetooth_audio_hal_prop)