set PROP_VALUE_MAX=149 to fix property cannot exceed 91 bytes issue
This commit is contained in:
parent
bad31b0320
commit
0ecc9cfb31
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ __BEGIN_DECLS
|
|||
|
||||
typedef struct prop_info prop_info;
|
||||
|
||||
#define PROP_VALUE_MAX 92
|
||||
#define PROP_VALUE_MAX 149
|
||||
|
||||
/*
|
||||
* Sets system property `key` to `value`, creating the system property if it doesn't already exist.
|
||||
|
|
|
@ -22,7 +22,7 @@ import sys
|
|||
# See PROP_VALUE_MAX in system_properties.h.
|
||||
# The constant in system_properties.h includes the terminating NUL,
|
||||
# so we decrease the value by 1 here.
|
||||
PROP_VALUE_MAX = 91
|
||||
PROP_VALUE_MAX = 149
|
||||
|
||||
# Put the modifications that you need to make into the /system/build.prop into this
|
||||
# function. The prop object has get(name) and put(name,value) methods.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue