Loading core/java/android/os/SystemProperties.java +3 −1 Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ import java.util.HashMap; @SystemApi public class SystemProperties { private static final String TAG = "SystemProperties"; private static final boolean TRACK_KEY_ACCESS = false; private static final boolean TRACK_KEY_ACCESS = true; /** * Android O removed the property name length limit, but com.amazon.kindle 7.8.1.5 Loading @@ -77,6 +77,8 @@ public class SystemProperties { private static void onKeyAccess(String key) { if (!TRACK_KEY_ACCESS) return; Log.i(TAG, "jklee key=" + key); if (key != null && key.startsWith("ro.")) { synchronized (sRoReads) { MutableInt numReads = sRoReads.getOrDefault(key, null); Loading Loading
core/java/android/os/SystemProperties.java +3 −1 Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ import java.util.HashMap; @SystemApi public class SystemProperties { private static final String TAG = "SystemProperties"; private static final boolean TRACK_KEY_ACCESS = false; private static final boolean TRACK_KEY_ACCESS = true; /** * Android O removed the property name length limit, but com.amazon.kindle 7.8.1.5 Loading @@ -77,6 +77,8 @@ public class SystemProperties { private static void onKeyAccess(String key) { if (!TRACK_KEY_ACCESS) return; Log.i(TAG, "jklee key=" + key); if (key != null && key.startsWith("ro.")) { synchronized (sRoReads) { MutableInt numReads = sRoReads.getOrDefault(key, null); Loading