diff options
author | Artur Satayev <satayev@google.com> | 2019-12-10 12:56:41 +0000 |
---|---|---|
committer | Artur Satayev <satayev@google.com> | 2019-12-10 12:56:41 +0000 |
commit | 0b1b0c9cebde8fbd95e61c86df9ca72c232eb822 (patch) | |
tree | fc6a89dfe9b5e6b80d8f1a00a00b34541ec763f3 | |
parent | 557e8a2687abe54bf1d581e4424d08391501ee1d (diff) | |
download | currysrc-0b1b0c9cebde8fbd95e61c86df9ca72c232eb822.tar.gz |
Use new UnsupportedAppUsage annotation.android-r-preview-1
Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library.
Bug: 145132366
Test: m && diff unsupportedappusage_index.csv
Change-Id: I94f5016048f78f0be20bb1be7dcd495f797662bc
-rw-r--r-- | scripts/repackage-common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/repackage-common.sh b/scripts/repackage-common.sh index 94af157..5f1e058 100644 --- a/scripts/repackage-common.sh +++ b/scripts/repackage-common.sh @@ -226,7 +226,7 @@ fi if [[ -f "${UNSUPPORTED_APP_USAGE_FILE}" ]]; then # Check to ensure that all the requested annotations were added. checkChangeLog <(grep @location "${UNSUPPORTED_APP_USAGE_FILE}" | grep -vE "[[:space:]]*//" | cut -f4 -d\" | sort -u) \ - "@dalvik.annotation.compat.UnsupportedAppUsage" \ + "@android.compat.annotation.UnsupportedAppUsage" \ "UnsupportedAppUsage annotations were not added at the following locations from ${UNSUPPORTED_APP_USAGE_FILE}:" fi |