summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2019-01-31 13:08:24 +0900
committerLorenzo Colitti <lorenzo@google.com>2019-01-31 13:08:24 +0900
commite5ca11604ec6db5c704ec4114f828ed0a50e99f8 (patch)
treeda80b123d94e03229f2de675231c303039bc8eb6 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent65ceeb4db23ddacd2cbd4ebacb3e66b00af956dd (diff)
Allow use of bindProcessToNetwork only to change private DNS bypass.
Currently it is not possible to change private DNS bypass by doing: setProcessDefaultNetwork(network.getPrivateDnsBypassingCopy()); setProcessDefaultNetwork(network); because the code will ignore the change. Fix this by ensuring that we always call bindProcessToNetwork (which does not have side effects) and then only performing the expensive operations (flushing DNS cache, upating socket pools) if the netId changed. Bug: 112869080 Test: None Change-Id: I5e8999cb11d8b8c1e9eb583fa8b3932f212accff
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions