Relabel minui properties as recovery_config_prop
To clean up bad context name exported[23]_default_prop
Bug: 155844385
Test: m selinux_policy
Test: enter recovery mode
Change-Id: I312b6fa911a90dfc069a973c7916c67d92b7baa5
diff --git a/private/compat/27.0/27.0.ignore.cil b/private/compat/27.0/27.0.ignore.cil
index 9605e34..c35edcc 100644
--- a/private/compat/27.0/27.0.ignore.cil
+++ b/private/compat/27.0/27.0.ignore.cil
@@ -140,6 +140,7 @@
perfetto_traces_data_file
property_info
provisioned_prop
+ recovery_config_prop
recovery_socket
retaildemo_prop
role_service
diff --git a/private/compat/30.0/30.0.cil b/private/compat/30.0/30.0.cil
index 8efa6cb..70e875b 100644
--- a/private/compat/30.0/30.0.cil
+++ b/private/compat/30.0/30.0.cil
@@ -1362,6 +1362,7 @@
hdmi_config_prop
lmkd_config_prop
media_config_prop
+ recovery_config_prop
telephony_config_prop
zram_config_prop))
(typeattributeset exported3_radio_prop_30_0 (exported3_radio_prop))
diff --git a/private/property_contexts b/private/property_contexts
index 41eb3c8..af7b162 100644
--- a/private/property_contexts
+++ b/private/property_contexts
@@ -445,9 +445,9 @@
ro.media.xml_variant.codecs_performance u:object_r:media_variant_prop:s0 exact string
ro.media.xml_variant.profiles u:object_r:media_variant_prop:s0 exact string
-ro.minui.default_rotation u:object_r:exported3_default_prop:s0 exact string
-ro.minui.overscan_percent u:object_r:exported3_default_prop:s0 exact int
-ro.minui.pixel_format u:object_r:exported3_default_prop:s0 exact string
+ro.minui.default_rotation u:object_r:recovery_config_prop:s0 exact string
+ro.minui.overscan_percent u:object_r:recovery_config_prop:s0 exact int
+ro.minui.pixel_format u:object_r:recovery_config_prop:s0 exact string
ro.oem_unlock_supported u:object_r:exported3_default_prop:s0 exact int
diff --git a/private/recovery.te b/private/recovery.te
index 47547e3..207dfb6 100644
--- a/private/recovery.te
+++ b/private/recovery.te
@@ -33,4 +33,6 @@
# Set fastbootd protocol property
set_prop(recovery, fastbootd_protocol_prop)
+
+ get_prop(recovery, recovery_config_prop)
')
diff --git a/public/property.te b/public/property.te
index 0fe8e91..076fdcb 100644
--- a/public/property.te
+++ b/public/property.te
@@ -120,6 +120,7 @@
system_vendor_config_prop(lmkd_config_prop)
system_vendor_config_prop(media_config_prop)
system_vendor_config_prop(media_variant_prop)
+system_vendor_config_prop(recovery_config_prop)
system_vendor_config_prop(storage_config_prop)
system_vendor_config_prop(surfaceflinger_prop)
system_vendor_config_prop(systemsound_config_prop)