public String getString(String key, String def) {
        String value = mValues.get(key);
        if (value != null) {
            return value;
        }
        return def;
    }
Get the value for key as a string.

@param key The key to lookup.
@param def The value to return if the key was not found.
@return the string value associated with the key.
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/util/KeyValueListParser.java