Let ConnectivityService control the socket closure

Netd currently calls maybeCloseSockets before adding/removing users for
network. The task should be moved from netd to CS. In this way, we can
handle WiFi lingering more easily in the future.

Test: atest HostsideVpnTests
Test: atest FrameworksNetTests
Change-Id: Icf8125e8552c89da367a67f48611ed193a1a343d
2 files changed
tree: 04edc75c76a710b32dec18ace4cee02607d4ba70
  1. core/
  2. service/
  3. services/
  4. tests/
  5. OWNERS