diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2020-01-31 15:05:22 +0900 |
---|---|---|
committer | Mark Chien <markchien@google.com> | 2020-02-12 03:44:16 +0000 |
commit | eb22daaf5bf79d33fe09b995466a12a09c17c3c6 (patch) | |
tree | 4e0b556feadf66b18ef5900c7b9d5422f87f3eca /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 99e648eafec6cc4408cba46517a5e7e66092545e (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions