fix in string represantation conversion
This commit is contained in:
parent
66c1b3f178
commit
72258c178c
|
@ -33,7 +33,7 @@ public abstract class AbstractSettingsActivity extends PreferenceActivity {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void updateSummary(Preference preference, Object value) {
|
public void updateSummary(Preference preference, Object value) {
|
||||||
String stringValue = value.toString();
|
String stringValue = String.valueOf(value);
|
||||||
|
|
||||||
if (preference instanceof ListPreference) {
|
if (preference instanceof ListPreference) {
|
||||||
// For list preferences, look up the correct display value in
|
// For list preferences, look up the correct display value in
|
||||||
|
|
Loading…
Reference in New Issue