diff options
author | Vinit Deshpande <vinitd@google.com> | 2015-03-18 17:00:30 -0700 |
---|---|---|
committer | Vinit Deshpande <vinitd@google.com> | 2015-03-18 17:00:48 -0700 |
commit | ad25bb89251c0552cfbc6c254853c79b7d9c121a (patch) | |
tree | 80c9f94acbb2cf774409910ac19a1d92a82d3fab /wifi/java/android/net | |
parent | 2877877d4cb9ca220be28c136eee385550262354 (diff) | |
download | frameworks_base-ad25bb89251c0552cfbc6c254853c79b7d9c121a.zip frameworks_base-ad25bb89251c0552cfbc6c254853c79b7d9c121a.tar.gz frameworks_base-ad25bb89251c0552cfbc6c254853c79b7d9c121a.tar.bz2 |
More fixes to get passpoint working
Change-Id: If8639bb0fd3bdaad7ee09217a9152c1695cb9354
Diffstat (limited to 'wifi/java/android/net')
-rw-r--r-- | wifi/java/android/net/wifi/WifiConfiguration.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wifi/java/android/net/wifi/WifiConfiguration.java b/wifi/java/android/net/wifi/WifiConfiguration.java index 50beda7..34ae386 100644 --- a/wifi/java/android/net/wifi/WifiConfiguration.java +++ b/wifi/java/android/net/wifi/WifiConfiguration.java @@ -950,8 +950,7 @@ public class WifiConfiguration implements Parcelable { * Identify if this configuration represents a passpoint network */ public boolean isPasspoint() { - return TextUtils.isEmpty(SSID) - && !TextUtils.isEmpty(FQDN) + return !TextUtils.isEmpty(FQDN) && !TextUtils.isEmpty(providerFriendlyName) && enterpriseConfig != null && enterpriseConfig.getEapMethod() != WifiEnterpriseConfig.Eap.NONE; |