Fix crash when username is null in mms auth

Fixes #2850
Closes #2863

// FREEBIE
fork-5.53.8
Jake McGinty 2015-04-02 10:57:32 -07:00 zatwierdzone przez Moxie Marlinspike
rodzic beceee846a
commit 796c5de5d5
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -241,7 +241,7 @@ public abstract class LegacyMmsConnection {
}
public boolean hasAuthentication() {
return !TextUtils.isEmpty(username) || !TextUtils.isEmpty(password);
return !TextUtils.isEmpty(username);
}
public String getUsername() {