error: ro.product.alipay.profile cannot exceed 91

diff --git a/frameworks/base/core/java/android/os/SystemProperties.java b/frameworks/base/core/java/android/os/SystemProperties.java
index 1479035df9..a3e6f9508e 100644
--- a/frameworks/base/core/java/android/os/SystemProperties.java
+++ b/frameworks/base/core/java/android/os/SystemProperties.java
@@ -28,7 +28,7 @@ import java.util.ArrayList;
 public class SystemProperties
 {
     public static final int PROP_NAME_MAX = 31;
-    public static final int PROP_VALUE_MAX = 91;
+    public static final int PROP_VALUE_MAX = 200;//91; 
 
     private static final ArrayList<Runnable> sChangeCallbacks = new ArrayList<Runnable>();
 
diff --git a/frameworks/native/cmds/installd/installd_deps.h b/frameworks/native/cmds/installd/installd_deps.h
index 509317803e..32252cf126 100644
--- a/frameworks/native/cmds/installd/installd_deps.h
+++ b/frameworks/native/cmds/installd/installd_deps.h
@@ -34,7 +34,7 @@ extern int get_property(const char *key,
                         const char *default_value);
 // Size constants. Should be checked to be equal to the cutils requirements.
 constexpr size_t kPropertyKeyMax = 32u;
-constexpr size_t kPropertyValueMax = 92u;
+constexpr size_t kPropertyValueMax = 200u;//92u;

diff --git a/build/tools/post_process_props.py b/build/tools/post_process_props.py
index 9dcaadfd0d..3ae214c4ab 100755
--- a/build/tools/post_process_props.py
+++ b/build/tools/post_process_props.py
@@ -23,8 +23,8 @@ import sys
 # The constants in system_properties.h includes the termination NUL,
 # so we decrease the values by 1 here.
 PROP_NAME_MAX = 31
-PROP_VALUE_MAX = 91
-
+#PROP_VALUE_MAX = 91
+PROP_VALUE_MAX = 200

diff --git a/bionic/libc/include/sys/system_properties.h b/bionic/libc/include/sys/system_properties.h
index 01c3db332b..4a909958c4 100644
--- a/bionic/libc/include/sys/system_properties.h
+++ b/bionic/libc/include/sys/system_properties.h
@@ -36,7 +36,8 @@ __BEGIN_DECLS
 typedef struct prop_info prop_info;
 
 #define PROP_NAME_MAX   32
-#define PROP_VALUE_MAX  92
+#define PROP_VALUE_MAX  200
+/*#define PROP_VALUE_MAX  92*/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值