Merge "Do not set AccessPoint.ssid to config.SSID for Passpoint networks" into qt-r1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
767b96670d
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user