don't replace summary with empty value

This commit is contained in:
eehouse 2010-05-20 04:28:38 +00:00
parent 1ea06352dc
commit 1054ba5341

View file

@ -89,7 +89,9 @@ public class PrefsActivity extends PreferenceActivity
{
Preference pref = getPreferenceScreen().findPreference( key );
String value = sp.getString( key, "" );
pref.setSummary( value );
if ( ! value.equals("") ) {
pref.setSummary( value );
}
}
}