Make net-utils-services-common visible to service-connectivity-tiramisu.
Ethernet service sources are moving to Connectivity module, which has
dependency on the NetworkFactory class such as EthernetNetworkFactory.
Import this lib in service-connectivity-tiramisu-pre-jarjar to fix this
dependency.
Bug: 202086915
Test: m
Change-Id: I2f92479f56af110d89c9fa95eca725af7132b66f
diff --git a/staticlibs/Android.bp b/staticlibs/Android.bp
index bdd0c74..0e4dac2 100644
--- a/staticlibs/Android.bp
+++ b/staticlibs/Android.bp
@@ -287,9 +287,15 @@
"framework-annotations-lib",
"framework-connectivity",
],
+ // TODO: remove "apex_available:platform".
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.tethering",
+ ],
visibility: [
// TODO: remove after NetworkStatsService moves to the module.
"//frameworks/base/services/net",
+ "//packages/modules/Connectivity/service",
"//packages/modules/Connectivity/tests:__subpackages__",
"//packages/modules/Bluetooth/android/app",
],