Netd is not updatable since it's not mainlined. To make socket destroy code updatable, the code was re-implemented in java and moved to Connectivity. Bug: 270298713 Test: atest FrameworksNetTests (cherry picked from https://android-review.googlesource.com/q/commit:93a2218e41384d106f1c14c239e1bf4795af43d5) Merged-In: I5439c0c76c42a9f738a1b25a1f62e701755cbd05 Change-Id: I5439c0c76c42a9f738a1b25a1f62e701755cbd05