diff --git a/Android.bp b/Android.bp index 82da1e63a4811..a1e14c4554189 100644 --- a/Android.bp +++ b/Android.bp @@ -571,6 +571,7 @@ stubs_defaults { "android.hardware.vibrator-V1.3-java", "framework-protos", "art.module.public.api", + "sdk_module-lib_current_framework-tethering", // There are a few classes from modules used by the core that // need to be resolved by metalava. We use a prebuilt stub of the // full sdk to ensure we can resolve them. If a new class gets added, diff --git a/StubLibraries.bp b/StubLibraries.bp index b6fd708a6cceb..3b11036495c8d 100644 --- a/StubLibraries.bp +++ b/StubLibraries.bp @@ -324,6 +324,7 @@ java_library { defaults: ["android-non-updatable_defaults_stubs_current"], srcs: [":module-lib-api-stubs-docs-non-updatable"], libs: [ + "sdk_module-lib_current_framework-tethering", "sdk_system_current_android", // NOTE: The below can be removed once the prebuilt stub contains IKE. "sdk_system_current_android.net.ipsec.ike",