diff --git a/Tethering/Android.bp b/Tethering/Android.bp index 742fd02bb0..320ba8f845 100644 --- a/Tethering/Android.bp +++ b/Tethering/Android.bp @@ -41,6 +41,7 @@ java_defaults { "netd-client", ], libs: [ + "framework-connectivity", "framework-statsd.stubs.module_lib", "framework-tethering.impl", "framework-wifi", diff --git a/Tethering/common/TetheringLib/Android.bp b/Tethering/common/TetheringLib/Android.bp index 2631d08774..b141eaea8c 100644 --- a/Tethering/common/TetheringLib/Android.bp +++ b/Tethering/common/TetheringLib/Android.bp @@ -26,6 +26,13 @@ java_sdk_library { ], srcs: [":framework-tethering-srcs"], + libs: ["framework-connectivity"], + stub_only_libs: ["framework-connectivity"], + aidl: { + include_dirs: [ + "frameworks/base/packages/Connectivity/framework/aidl-export", + ], + }, jarjar_rules: "jarjar-rules.txt", installable: true,