Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec50f703 authored by Elliott Hughes's avatar Elliott Hughes Committed by android-build-merger
Browse files

Merge "Restore SystemProperties.PROP_NAME_MAX to keep Kindle running." am:...

Merge "Restore SystemProperties.PROP_NAME_MAX to keep Kindle running." am: ef9c4254 am: 40c4210f
am: 5c8e3edf

Change-Id: I4fbdbbb12b7854fcca22de2790c14d315ef44c53
parents 287452cf 5c8e3edf
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -35,6 +35,12 @@ public class SystemProperties {
    private static final String TAG = "SystemProperties";
    private static final String TAG = "SystemProperties";
    private static final boolean TRACK_KEY_ACCESS = false;
    private static final boolean TRACK_KEY_ACCESS = false;


    /**
     * Android O removed the property name length limit, but com.amazon.kindle 7.8.1.5
     * uses reflection to read this whenever text is selected (http://b/36095274).
     */
    public static final int PROP_NAME_MAX = Integer.MAX_VALUE;

    public static final int PROP_VALUE_MAX = 91;
    public static final int PROP_VALUE_MAX = 91;


    private static final ArrayList<Runnable> sChangeCallbacks = new ArrayList<Runnable>();
    private static final ArrayList<Runnable> sChangeCallbacks = new ArrayList<Runnable>();