Fix usage of annotations in TetheringLib
Annotations such as @SystemApi cannot be jarjared to a different package, as the members would not match the system API declarations. Instead, only build against the annotations from framework-annotations-lib, but do not include them as classes in the output jar; annotations are not required to be available to the classloader at runtime. Test: builds, boots, tethering working Bug: 147812912 Fixes: 148609988 Change-Id: I1fae97a1c1e0ba07fa3e2d64cde7650cd26d0acd Merged-In: I1fae97a1c1e0ba07fa3e2d64cde7650cd26d0acd
Showing
- Android.bp 2 additions, 11 deletionsAndroid.bp
- packages/Tethering/Android.bp 8 additions, 2 deletionspackages/Tethering/Android.bp
- packages/Tethering/common/TetheringLib/Android.bp 3 additions, 2 deletionspackages/Tethering/common/TetheringLib/Android.bp
- packages/Tethering/common/TetheringLib/jarjar-rules.txt 1 addition, 2 deletionspackages/Tethering/common/TetheringLib/jarjar-rules.txt
Please register or sign in to comment