make ro.persistent_properties.ready accessible for hidl client
- compared to ro.boottime, this one does not pass time info
bug: 35178781
bug: 34274385
Test: reboot
Change-Id: I6a7bf636a3f201653e2890751d5fa210274c9ede
diff --git a/private/property_contexts b/private/property_contexts
index 7845505..c205e59 100644
--- a/private/property_contexts
+++ b/private/property_contexts
@@ -84,6 +84,8 @@
# set at runtime by system_server.
ro.build.fingerprint u:object_r:fingerprint_prop:s0
+ro.persistent_properties.ready u:object_r:persistent_properties_ready_prop:s0
+
# ctl properties
ctl.bootanim u:object_r:ctl_bootanim_prop:s0
ctl.dumpstate u:object_r:ctl_dumpstate_prop:s0
diff --git a/public/property.te b/public/property.te
index 5bf0c62..a3f5a1e 100644
--- a/public/property.te
+++ b/public/property.te
@@ -34,6 +34,7 @@
type overlay_prop, property_type;
type pan_result_prop, property_type, core_property_type;
type persist_debug_prop, property_type, core_property_type;
+type persistent_properties_ready_prop, property_type;
type powerctl_prop, property_type, core_property_type;
type radio_prop, property_type, core_property_type;
type restorecon_prop, property_type, core_property_type;
diff --git a/public/te_macros b/public/te_macros
index 70e489a..d6bdf61 100644
--- a/public/te_macros
+++ b/public/te_macros
@@ -291,7 +291,7 @@
# stability). getService must also check for data to be mounted
# if the vintf promises the hal will be registered over hwbinder.
get_prop($1, hal_binderization_prop)
-get_prop($1, boottime_prop)
+get_prop($1, persistent_properties_ready_prop)
get_prop($1, vold_prop)
# rw access to /dev/hwbinder and /dev/ashmem is presently granted to
# all domains in domain.te.