Merge "Revert "system_properties.cpp: special case ro.* properties"" am: 9353089262
am: f16931bcc0
* commit 'f16931bcc080e664c4bd5f8605a020dc96729485':
Revert "system_properties.cpp: special case ro.* properties"
diff --git a/libc/bionic/system_properties.cpp b/libc/bionic/system_properties.cpp
index 28cce40..2720455 100644
--- a/libc/bionic/system_properties.cpp
+++ b/libc/bionic/system_properties.cpp
@@ -826,10 +826,6 @@
}
static prop_area* get_prop_area_for_name(const char* name) {
- if (strncmp(name, "ro.", 3) == 0) {
- name += 3;
- }
-
auto entry = list_find(prefixes, [name](prefix_node* l) {
return l->prefix[0] == '*' || !strncmp(l->prefix, name, l->prefix_len);
});