summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2020-02-08 12:15:25 +0000
committerAnton Hansson <hansson@google.com>2020-02-08 13:11:40 +0000
commitca03ef4de62697217fe540504392efb0e2c44329 (patch)
tree4757764873f170facd4009333894adb99b69d72d /tools/aapt2/java/JavaClassGenerator_test.cpp
parentec10bfa32d89847d40a8a6572a3ad0e63dec75a2 (diff)
Add @Nullable and @NonNull to module API
These two annotations are already in the public/system stubs, but are re-written to be package private instead of public. This makes them inaccessible to libs building against these stubs. When setting sdk_version:<X>, the stubs of X will appear before any other libraries on the classpath. This also makes it impossible for modules to add Nullable annotations of their own when setting sdk_version. Exposing these annotations as public in the module stubs makes it possible for modules using these annotation to specify an sdk_version. Bug: 146758669 Test: m Test: downstream CLs using sdk_version:module_current Change-Id: I71fb766d02f833ed9a1b3a7dbfbc1c8118882b30
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions