test old descr as title in Configure screen submenus 2

This commit is contained in:
sonora 2012-09-03 21:52:47 +02:00
parent 51b984d318
commit 8f169b4c55

View file

@ -127,7 +127,7 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference
return defValue; return defValue;
} }
public String getStringPropertyDescription(String propertyName, String defValue) { public static String getStringPropertyDescription(String propertyName, String defValue) {
try { try {
Field f = R.string.class.getField("rendering_attr_" + propertyName + "_description"); Field f = R.string.class.getField("rendering_attr_" + propertyName + "_description");
if (f != null) { if (f != null) {