Update default values

This commit is contained in:
Victor Shcherb 2015-06-06 13:02:13 +02:00
parent eee2db4a38
commit 6c6534e7c0

View file

@ -171,6 +171,9 @@ public abstract class SettingsBaseActivity extends ActionBarPreferenceActivity
public static String getStringPropertyValue(Context ctx, String propertyValue) {
try {
if(propertyValue == null) {
return "";
}
final String propertyValueReplaced = propertyValue.replaceAll("\\s+","_");
Field f = R.string.class.getField("rendering_value_" + propertyValueReplaced + "_name");
if (f != null) {