Merge "Connectivity: Fix map access"
am: a1b71308b5
Change-Id: I3c1fea926fda1d70e38746378191100bb825758f
This commit is contained in:
@@ -187,7 +187,7 @@ public class DnsManager {
|
|||||||
Slog.w(TAG, "updatePrivateDns(" + network + ", " + cfg + ")");
|
Slog.w(TAG, "updatePrivateDns(" + network + ", " + cfg + ")");
|
||||||
return (cfg != null)
|
return (cfg != null)
|
||||||
? mPrivateDnsMap.put(network.netId, cfg)
|
? mPrivateDnsMap.put(network.netId, cfg)
|
||||||
: mPrivateDnsMap.remove(network);
|
: mPrivateDnsMap.remove(network.netId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setDnsConfigurationForNetwork(
|
public void setDnsConfigurationForNetwork(
|
||||||
|
|||||||
Reference in New Issue
Block a user