diff options
author | Anton Hansson <hansson@google.com> | 2020-05-27 11:26:16 +0100 |
---|---|---|
committer | Anton Hansson <hansson@google.com> | 2020-05-27 11:26:16 +0100 |
commit | 01ff6b243febc199ffe718a49374af954c6dbeff (patch) | |
tree | bcbdfb845330eb4ab6309c4a16439596b93dc368 /apex | |
parent | cc0b494bb01f3a7f89fd2782673e430f53ba04b3 (diff) |
Enable annotations for framework stubs
Keeps Nullable and other source retention annotations in the stubs.
Bug: 157010342
Test: diff_stubs.sh
Change-Id: I4fc66d607276ff885947489afd63e1370ec85939
Diffstat (limited to 'apex')
-rw-r--r-- | apex/Android.bp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apex/Android.bp b/apex/Android.bp index de4b24aa274c..c1715a002d6d 100644 --- a/apex/Android.bp +++ b/apex/Android.bp @@ -100,6 +100,8 @@ java_defaults { // Configure framework module specific metalava options. droiddoc_options: [mainline_stubs_args], + annotations_enabled: true, + // The stub libraries must be visible to frameworks/base so they can be combined // into API specific libraries. stubs_library_visibility: [ |