Fixed uninplemented method error isEmpty() on earlier API versions
git-svn-id: https://forja.rediris.es/svn/cusl6-swadroid/trunk@266 5bc14d19-1e4b-4ba2-aa50-860af135f48c
This commit is contained in:
parent
f504a0e64c
commit
02e59ac8ab
|
@ -465,7 +465,7 @@ public class Preferences extends PreferenceActivity implements OnPreferenceChang
|
||||||
String stars = getStarsSequence(STARS_LENGTH);
|
String stars = getStarsSequence(STARS_LENGTH);
|
||||||
userIDPref.setSummary(prefs.getString(USERIDPREF, ""));
|
userIDPref.setSummary(prefs.getString(USERIDPREF, ""));
|
||||||
|
|
||||||
if(!prefs.getString(USERPASSWORDPREF, "").isEmpty())
|
if(!prefs.getString(USERPASSWORDPREF, "").equals(""))
|
||||||
userPasswordPref.setSummary(stars);
|
userPasswordPref.setSummary(stars);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user