summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/print_utils.py
diff options
context:
space:
mode:
authorJeff Gaston <jeffrygaston@google.com>2019-09-20 14:37:00 -0400
committerJeff Gaston <jeffrygaston@google.com>2019-09-20 16:36:02 -0400
commit1b51142eb629a300727197f5bebe32c208edb0b6 (patch)
tree0ec399b309e1c58887c68507dcbb12bb5cc27aea /startop/scripts/lib/print_utils.py
parent9bb86ea9f4f1cd45887c021b1ba7ad028cc2ee4a (diff)
Replacing @Nullable with @RecentlyNullable for apis annotated since API 28
(temporarily). This causes Metalava to downgrade @Nullable/@NonNull to @RecentlyNullable/@RecentlyNonNull for now. This should provide more time to migrate calling code. Note that we're still checking compatibility against API 29. Test: m api-stubs-docs # and unzip out/target/common/docs/api-stubs-docs-stubs.srcjar \ and notice that @Nullable/@NonNull are replaced by @RecentlyNullable/@RecentlyNonNull Test: m checkapi Test: echo "package samplePackage { public class sampleClass { } }" >> prebuilts/sdk/29/public/api/android.txt \ && m checkapi # and notice that it correctly reports an error Bug: 140127380 Change-Id: I616438183ef80d1da7cbbe1c0eb01d1f71eaad8c
Diffstat (limited to 'startop/scripts/lib/print_utils.py')
0 files changed, 0 insertions, 0 deletions