commit | c7b5ac035e31b68d5d29bc4321ccaf62246e4239 | [log] [tgz] |
---|---|---|
author | lucaslin <lucaslin@google.com> | Fri Sep 17 19:48:46 2021 +0800 |
committer | lucaslin <lucaslin@google.com> | Wed Sep 29 17:33:02 2021 +0800 |
tree | 21f457c30432276f646f5fc59115ecf41985cf9a | |
parent | c39842abd94509113b2d9e5cc904015c3e20cecd [diff] |
Set underlying networks into NetworkCapabilities directly The constructor of NetworkAgentInfo will refer to the underlying networks of NetworkCapabilities and set declaredUnderlyingNetworks directly, so there is no need to call setUnderlyingNetworks() to update declaredUnderlyingNetworks. Bug: 191918368 Test: atest FrameworksNetTests:ConnectivityServiceTest Change-Id: Idb5f0232455603567d02591b0cdbab4764155ee9