Let Updater set persist.vendor.recovery_update prop
Required for enabling recovery update during boot.
Change-Id: I9d9b071463139b9996bc08b9de1da34857034073
diff --git a/common/private/property.te b/common/private/property.te
new file mode 100644
index 0000000..14cba21
--- /dev/null
+++ b/common/private/property.te
@@ -0,0 +1 @@
+type recovery_update_prop, property_type, extended_core_property_type;
diff --git a/common/private/property_contexts b/common/private/property_contexts
index c9f72e7..1fe6f2e 100644
--- a/common/private/property_contexts
+++ b/common/private/property_contexts
@@ -1 +1,4 @@
ro.telephony.use_old_mnc_mcc_format u:object_r:exported3_default_prop:s0
+
+# Recovery update
+persist.vendor.recovery_update u:object_r:recovery_update_prop:s0
diff --git a/common/private/updater_app.te b/common/private/updater_app.te
index 4f1a2ec..b4b2dd5 100644
--- a/common/private/updater_app.te
+++ b/common/private/updater_app.te
@@ -18,3 +18,5 @@
get_prop(updater_app, default_prop)
get_prop(updater_app, exported2_default_prop)
+
+set_prop(updater_app, recovery_update_prop)