Merge "system properties: doubling the shared file size to 256Kb" into main
This commit is contained in:
commit
b28d496c18
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -593,7 +593,7 @@ TEST(properties, __system_property_extra_long_read_only_too_long) {
|
|||
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__
|
||||
|
|
Loading…
Reference in a new issue