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
This commit is contained in:
Jared Duke 2024-09-27 18:41:54 +00:00
commit dff99282e8

View file

@ -79,6 +79,7 @@ java_defaults {
],
defaults: ["TetheringExternalLibs"],
libs: [
"framework-annotations-lib",
"framework-tethering.impl",
],
manifest: "AndroidManifestBase.xml",