Fix crash when username is null in mms auth

Fixes #2850
Closes #2863

// FREEBIE
This commit is contained in:
Jake McGinty 2015-04-02 10:57:32 -07:00 committed by Moxie Marlinspike
parent beceee846a
commit 796c5de5d5

View File

@ -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() {