test old descr as title in Configure screen submenus 5

This commit is contained in:
sonora 2012-09-03 22:13:12 +02:00
parent 5fa83b856b
commit 9866a7b50f

View file

@ -132,10 +132,11 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference
Field f = R.string.class.getField("rendering_attr_" + propertyName + "_description");
if (f != null) {
Integer in = (Integer) f.get(null);
return getString(in);
return ctx.getString(in);
}
} catch (Exception e) {
e.printStackTrace();
//e.printStackTrace();
System.err.println(e.getMessage());
}
return defValue;
}