Add visibility to net-utils-framework-srcs

Allow framework-connectivity to depend on net-utils-framework-srcs, and
add @hide annotations to classes that were missing it.

This allows depending on less classes than net-utils-device-common, and
avoids transitive dependency on androidx.annotations used by
net-utils-device-common (which itself depends on the public SDK).

Bug: 183600168
Test: m
Ignore-AOSP-First: needs manual cherry-picks
Change-Id: I89a18bb46311800fd6807dad5785f12648f165d9
diff --git a/staticlibs/Android.bp b/staticlibs/Android.bp
index 03296e7..a341b0f 100644
--- a/staticlibs/Android.bp
+++ b/staticlibs/Android.bp
@@ -121,7 +121,10 @@
     name: "net-utils-framework-common-srcs",
     srcs: ["framework/**/*.java"],
     path: "framework",
-    visibility: ["//frameworks/base"],
+    visibility: [
+        "//frameworks/base",
+        "//frameworks/base/packages/Connectivity/framework",
+    ],
 }
 
 java_library {