diff options
author | 2025-03-20 02:56:05 -0700 | |
---|---|---|
committer | 2025-03-20 02:56:05 -0700 | |
commit | bfe94ad3386ebd386340edd99da715c98710a02e (patch) | |
tree | a81b270388145805f140fa29b9b64396b4eee580 /tools | |
parent | 3e9bf3ea674dccee2cb9fde0fe70be1f19cd59b7 (diff) | |
parent | b0397f86018c239b1810fcd8a739e7910ac782a5 (diff) |
Merge "Update as AnnotationAttribute.value is now legacyValue" into main am: b0397f8601
Original change: https://android-review.googlesource.com/c/platform/build/+/3552121
Change-Id: I9177452cc9b7184e8f9b7e0e5c346f15bfcdf969
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/check-flagged-apis/src/com/android/checkflaggedapis/Main.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/check-flagged-apis/src/com/android/checkflaggedapis/Main.kt b/tools/check-flagged-apis/src/com/android/checkflaggedapis/Main.kt index dd7c7de25d..25cba9ce4a 100644 --- a/tools/check-flagged-apis/src/com/android/checkflaggedapis/Main.kt +++ b/tools/check-flagged-apis/src/com/android/checkflaggedapis/Main.kt @@ -292,7 +292,7 @@ internal fun parseApiSignature(path: String, input: InputStream): Set<Pair<Symbo return item.modifiers .findAnnotation("android.annotation.FlaggedApi") ?.findAttribute("value") - ?.value + ?.legacyValue ?.let { Flag(it.value() as String) } } } |