commit | 8b2dfa7c0275b42e2a67e95a7ca965e47b998231 | [log] [tgz] |
---|---|---|
author | lucaslin <lucaslin@google.com> | Fri Oct 15 18:07:12 2021 +0800 |
committer | lucaslin <lucaslin@google.com> | Fri Oct 15 18:07:12 2021 +0800 |
tree | f6595f0a6dff5960362cca8a6ce9ab11026a6cc2 | |
parent | 301d6bdfa6a6822909d3aaa429eb03a7256bce78 [diff] |
Add new APIs in NetworkCapabilities to set and get underlying networks Previously, the caller can only know about the transport type of the underlying network. The information might not be enough if the device support WiFi STA+STA. Thus, provide an API for the caller to get the correct underlying network. Bug: 191918368 Test: atest FrameworksNetTests:NetworkCapabilitiesTest Change-Id: I7752b2356770f4572f6ca4cbaecaa45c09d6d72f