Merge "Do not set AccessPoint.ssid to config.SSID for Passpoint networks" into qt-r1-dev

This commit is contained in:
TreeHugger Robot
2019-07-31 20:05:26 +00:00
committed by Android (Google) Code Review

View File

@@ -1435,7 +1435,7 @@ public class AccessPoint implements Comparable<AccessPoint> {
void update(@Nullable WifiConfiguration config) { void update(@Nullable WifiConfiguration config) {
mConfig = config; mConfig = config;
if (mConfig != null) { if (mConfig != null && !isPasspoint()) {
ssid = removeDoubleQuotes(mConfig.SSID); ssid = removeDoubleQuotes(mConfig.SSID);
} }
networkId = config != null ? config.networkId : WifiConfiguration.INVALID_NETWORK_ID; networkId = config != null ? config.networkId : WifiConfiguration.INVALID_NETWORK_ID;