Merge "Connectivity: Fix map access"
This commit is contained in:
commit
a1b71308b5
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ public class DnsManager {
|
|||
Slog.w(TAG, "updatePrivateDns(" + network + ", " + cfg + ")");
|
||||
return (cfg != null)
|
||||
? mPrivateDnsMap.put(network.netId, cfg)
|
||||
: mPrivateDnsMap.remove(network);
|
||||
: mPrivateDnsMap.remove(network.netId);
|
||||
}
|
||||
|
||||
public void setDnsConfigurationForNetwork(
|
||||
|
|
|
|||
Loading…
Reference in a new issue