commit | 31b2c6157615b6cdda2cd67606b608956bd758a0 | [log] [tgz] |
---|---|---|
author | Ken Chen <cken@google.com> | Wed Dec 23 06:55:24 2020 +0800 |
committer | Ken Chen <cken@google.com> | Wed Dec 30 03:11:37 2020 +0800 |
tree | 139ba07aa2655b1059a53d1c75fafae7c37114f4 | |
parent | e99b8cb197948230618d104bad2dee0fad05c3e4 [diff] |
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: cd system/netd; atest Test: atest HostsideVpnTests Test: atest FrameworksNetTests Change-Id: Iaffd73b400e69417633551725bd69b574d1987ac