[CS01]Remove hidden API usage of NetworkCapabilities

The connection service will become the mainline module. The mutable
NetworkCapabilities is deprecated, and the NetworkCapabilities should
be built through their Builder instead.

Bug: 170598012
Test: atest FrameworksNetTests
Test: atest IpConnectivityMetricsTest
Change-Id: I73a4d3a7c118b9cef037ed52efb96ed123da2fa5
1 file changed
tree: 32df8143a93de6cd29140cbfb895fbe943d1d740
  1. core/
  2. framework/
  3. service/
  4. services/
  5. tests/
  6. OWNERS