Rename runtime -> runtime_native property namespace
The convention for native properties is to use _native suffix.
Bug: 123524494
Bug: 120794191
Test: set a property and ensure it can be read in AndroidRuntime.cpp
Change-Id: I69feab9be78f24d812b8f953d3ec06a5d8d18f15
diff --git a/private/compat/28.0/28.0.ignore.cil b/private/compat/28.0/28.0.ignore.cil
index 44d2d63..31b89b8 100644
--- a/private/compat/28.0/28.0.ignore.cil
+++ b/private/compat/28.0/28.0.ignore.cil
@@ -32,7 +32,7 @@
device_config_input_native_boot_prop
device_config_netd_native_prop
device_config_reset_performed_prop
- device_config_runtime_prop
+ device_config_runtime_native_prop
device_config_service
face_service
face_vendor_data_file
diff --git a/private/property_contexts b/private/property_contexts
index 303832d..74134ac 100644
--- a/private/property_contexts
+++ b/private/property_contexts
@@ -172,7 +172,7 @@
persist.device_config.attempted_boot_count u:object_r:device_config_boot_count_prop:s0
persist.device_config.input_native_boot. u:object_r:device_config_input_native_boot_prop:s0
persist.device_config.netd_native. u:object_r:device_config_netd_native_prop:s0
-persist.device_config.runtime. u:object_r:device_config_runtime_prop:s0
+persist.device_config.runtime_native. u:object_r:device_config_runtime_native_prop:s0
apexd. u:object_r:apexd_prop:s0
persist.apexd. u:object_r:apexd_prop:s0
diff --git a/private/system_server.te b/private/system_server.te
index 1893494..1003994 100644
--- a/private/system_server.te
+++ b/private/system_server.te
@@ -585,7 +585,7 @@
set_prop(system_server, device_config_input_native_boot_prop)
set_prop(system_server, device_config_netd_native_prop)
set_prop(system_server, device_config_activity_manager_native_boot_prop)
-set_prop(system_server, device_config_runtime_prop)
+set_prop(system_server, device_config_runtime_native_prop)
# BootReceiver to read ro.boot.bootreason
get_prop(system_server, bootloader_boot_reason_prop)
@@ -948,7 +948,7 @@
device_config_activity_manager_native_boot_prop
device_config_input_native_boot_prop
device_config_netd_native_prop
- device_config_runtime_prop
+ device_config_runtime_native_prop
}:property_service set;
# system_server should never be executing dex2oat. This is either
diff --git a/private/zygote.te b/private/zygote.te
index 073b7f8..9f8a348 100644
--- a/private/zygote.te
+++ b/private/zygote.te
@@ -126,8 +126,8 @@
get_prop(zygote, overlay_prop)
get_prop(zygote, exported_overlay_prop)
-# Allow the zygote to access feature flag properties.
-get_prop(zygote, device_config_runtime_prop)
+# Allow the zygote to access the runtime feature flag properties.
+get_prop(zygote, device_config_runtime_native_prop)
# ingore spurious denials
dontaudit zygote self:global_capability_class_set sys_resource;