diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2020-01-31 15:05:22 +0900 |
---|---|---|
committer | markchien <markchien@google.com> | 2020-02-19 16:32:26 +0800 |
commit | 2d14a4b3e0cf5b170aca0d5c76be07125b385a47 (patch) | |
tree | 34cbcd5d91de1caac1a70aff61454aacbc656881 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8cf2a5588b7665815c20982cd578e255f87434ae (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions