public final class SystemProperties extends Object
SystemProperties
(available since API Level 1).Modifier and Type | Method and Description |
---|---|
static String |
get(String key,
String defaultValue)
Gets system properties set by
adb shell setprop key value |
public static String get(String key, String defaultValue)
adb shell setprop key value
key
- the property key.defaultValue
- the value to return if the property is undefined or empty (this parameter
may be null
).