Merge "system properties: doubling the shared file size to 256Kb" into main
diff --git a/libc/system_properties/prop_area.cpp b/libc/system_properties/prop_area.cpp index 4668eed..d5693b9 100644 --- a/libc/system_properties/prop_area.cpp +++ b/libc/system_properties/prop_area.cpp
@@ -41,7 +41,7 @@ #include <async_safe/log.h> -constexpr size_t PA_SIZE = 128 * 1024; +constexpr size_t PA_SIZE = 256 * 1024; constexpr uint32_t PROP_AREA_MAGIC = 0x504f5250; constexpr uint32_t PROP_AREA_VERSION = 0xfc6ed0ab;
diff --git a/tests/system_properties_test.cpp b/tests/system_properties_test.cpp index 0b7f5ae..dff92ea 100644 --- a/tests/system_properties_test.cpp +++ b/tests/system_properties_test.cpp
@@ -593,7 +593,7 @@ ASSERT_TRUE(system_properties.valid()); auto name = "ro.super_long_property"s; - auto value = std::string(128 * 1024 + 1, 'x'); + auto value = std::string(256 * 1024 + 1, 'x'); ASSERT_NE(0, system_properties.Add(name.c_str(), name.size(), value.c_str(), value.size())); #else // __BIONIC__