diff options
| author | 2020-05-27 11:26:16 +0100 | |
|---|---|---|
| committer | 2020-09-02 10:46:30 +0100 | |
| commit | 7d74e595bbc97b6ddfd54ec710b04423978c9df2 (patch) | |
| tree | f3276895b537c8de59abc601786933c37ba0a95b | |
| parent | 7c8bda083150b77406c67fd3bfdaf5eb820ed30c (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
Merged-In: I4fc66d607276ff885947489afd63e1370ec85939
(cherry picked from commit 01ff6b243febc199ffe718a49374af954c6dbeff)
| -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 f34ecbd79108..5ee8a638f540 100644 --- a/apex/Android.bp +++ b/apex/Android.bp @@ -107,6 +107,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: [ |