Fix crash when username is null in mms auth

Fixes #2850
Closes #2863

// FREEBIE
pull/1/head
Jake McGinty 11 years ago committed by Moxie Marlinspike
parent beceee846a
commit 796c5de5d5

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

Loading…
Cancel
Save