Merge "system properties: doubling the shared file size to 256Kb" into main am: b28d496c18
Original change: https://android-review.googlesource.com/c/platform/bionic/+/2874874 Change-Id: Id84287cb6c7c6c24b4c4f5118ccded19666ca511 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
37f741a7d4
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