From dff99282e87ac2dbfa58631c159ef8dafc8168d2 Mon Sep 17 00:00:00 2001 From: Jared Duke Date: Fri, 27 Sep 2024 18:41:54 +0000 Subject: [PATCH] Prefer framework-annotations-lib dependency Rather than bundling a copy of the framework annotations, reference them via framework-annotations-lib as a libs reference. This ensures the target inherits any necessary keep rule configurations, and is the same pattern used by other mainline modules. Bug: 275175207 Test: m Flag: EXEMPT refactor Change-Id: I014aa79f4fec69aef062a2fb855a50f658380ac5 --- Tethering/Android.bp | 1 + 1 file changed, 1 insertion(+) diff --git a/Tethering/Android.bp b/Tethering/Android.bp index 70b38a44fa..15ad22690a 100644 --- a/Tethering/Android.bp +++ b/Tethering/Android.bp @@ -79,6 +79,7 @@ java_defaults { ], defaults: ["TetheringExternalLibs"], libs: [ + "framework-annotations-lib", "framework-tethering.impl", ], manifest: "AndroidManifestBase.xml",