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
Loading
Please register or sign in to comment