android.os.SystemProperties 属性限制
android.os.SystemProperties
Android O之后属性限制
44 /**
45 * Android O removed the property name length limit, but com.amazon.kindle 7.8.1.5
46 * uses reflection to read this whenever text is selected (http://b/36095274).
47 * @hide
48 */
49 public static final int PROP_NAME_MAX = Integer.MAX_VALUE;
50
51 /** @hide */
52 public static final int PROP_VALUE_MAX = 91;
Android O之前属性限制
30 public static final int PROP_NAME_MAX = 31;
31 public static final int PROP_VALUE_MAX = 91;