Snap for 13256841 from 0bb9ca1e0946e153a897d8b970fc92c78a9ef704 to 25Q2-release
Change-Id: Ib1e078a8b791c32333dcc381ace069786a8d63d0
diff --git a/private/mmd.te b/private/mmd.te
index 9a76909..7770865 100644
--- a/private/mmd.te
+++ b/private/mmd.te
@@ -38,3 +38,7 @@
allow mmd stats_service:service_manager find;
allow mmd statsmanager_service:service_manager find;
binder_call(mmd, statsd)
+
+# Allow mmd to send dump info to dumpstate.
+allow mmd dumpstate:fd use;
+allow mmd dumpstate:fifo_file { getattr write };
diff --git a/private/prefetch.te b/private/prefetch.te
index 21287f3..69008b5 100644
--- a/private/prefetch.te
+++ b/private/prefetch.te
@@ -22,3 +22,7 @@
-init
-shell
} ctl_prefetch_prop:property_service set;
+
+# Allow rootfs so prefetch can walk through directory tree and
+# create a map of inodes -> file path.
+allow prefetch rootfs:dir { open read search getattr };
diff --git a/private/property_contexts b/private/property_contexts
index d089049..029c0a6 100644
--- a/private/property_contexts
+++ b/private/property_contexts
@@ -510,6 +510,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