Enable annotations for framework stubs
Keeps Nullable and other source retention annotations in the stubs. Bug: 157010342 Test: diff_stubs.sh Change-Id: I4fc66d607276ff885947489afd63e1370ec85939
This commit is contained in:
@@ -100,6 +100,8 @@ java_defaults {
|
|||||||
// Configure framework module specific metalava options.
|
// Configure framework module specific metalava options.
|
||||||
droiddoc_options: [mainline_stubs_args],
|
droiddoc_options: [mainline_stubs_args],
|
||||||
|
|
||||||
|
annotations_enabled: true,
|
||||||
|
|
||||||
// The stub libraries must be visible to frameworks/base so they can be combined
|
// The stub libraries must be visible to frameworks/base so they can be combined
|
||||||
// into API specific libraries.
|
// into API specific libraries.
|
||||||
stubs_library_visibility: [
|
stubs_library_visibility: [
|
||||||
|
|||||||
Reference in New Issue
Block a user