Grant dalvik_dynamic_prop access to power HAL
Currently vendors need to write dex2oat property from power HAL for
performance but vendors should workaround it with init rc scripts. This
allows power HAL to write such properties directly, without workaround.
Bug: 163539793
Test: boot
Change-Id: I1812c577cb11d24d924d32cdab40594c0eb72d52
diff --git a/private/hal_power.te b/private/hal_power.te
index aae32a0..1eb10a1 100644
--- a/private/hal_power.te
+++ b/private/hal_power.te
@@ -7,3 +7,6 @@
binder_call(hal_power_server, servicemanager)
binder_call(hal_power_client, servicemanager)
+
+# power HAL sets dex2oat performance tuning properties
+set_prop(hal_power_server, dalvik_dynamic_config_prop)