Merge "[DU02]Remove DevicePolicyManagerInternal from NetworkStatsAccess" am: bacbe802c1

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1925684

Change-Id: Iab2c955167d0fb2d02a640c36410f3e3b26f8f73
diff --git a/Tethering/Android.bp b/Tethering/Android.bp
index bb435d8..0b54783 100644
--- a/Tethering/Android.bp
+++ b/Tethering/Android.bp
@@ -206,5 +206,4 @@
 sdk {
     name: "tethering-module-sdk",
     bootclasspath_fragments: ["com.android.tethering-bootclasspath-fragment"],
-    systemserverclasspath_fragments: ["com.android.tethering-systemserverclasspath-fragment"],
 }
diff --git a/Tethering/apex/Android.bp b/Tethering/apex/Android.bp
index 99fc5d6..7863572 100644
--- a/Tethering/apex/Android.bp
+++ b/Tethering/apex/Android.bp
@@ -44,8 +44,8 @@
     bootclasspath_fragments: [
         "com.android.tethering-bootclasspath-fragment",
     ],
-    systemserverclasspath_fragments: [
-        "com.android.tethering-systemserverclasspath-fragment",
+    java_libs: [
+        "service-connectivity",
     ],
     multilib: {
         first: {
@@ -114,12 +114,6 @@
     },
 }
 
-systemserverclasspath_fragment {
-    name: "com.android.tethering-systemserverclasspath-fragment",
-    standalone_contents: ["service-connectivity"],
-    apex_available: ["com.android.tethering"],
-}
-
 override_apex {
     name: "com.android.tethering.inprocess",
     base: "com.android.tethering",