commit | ad25bb89251c0552cfbc6c254853c79b7d9c121a | [log] [tgz] |
---|---|---|
author | Vinit Deshpande <vinitd@google.com> | Wed Mar 18 17:00:30 2015 -0700 |
committer | Vinit Deshpande <vinitd@google.com> | Wed Mar 18 17:00:48 2015 -0700 |
tree | 80c9f94acbb2cf774409910ac19a1d92a82d3fab | |
parent | 2877877d4cb9ca220be28c136eee385550262354 [diff] |
More fixes to get passpoint working Change-Id: If8639bb0fd3bdaad7ee09217a9152c1695cb9354
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 @@ * 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;