summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2025-03-19 22:04:27 +0000
committer Paul Duffin <paulduffin@google.com> 2025-03-19 23:54:15 +0000
commit653c770c477771eed21a8dd3cac721daf9cfea40 (patch)
treee74ee47244227348964b856bf3f80cf98068173c /tools
parentc79fa9c9724a7a2e52f88d4a09d4a1a43914a55d (diff)
Update as AnnotationAttribute.value is now legacyValue
Previously, this used `AnnotationAttribute.value` but that has just been renamed to `legacyValue`. Bug: 354633349 Test: atest check-flagged-apis-test Change-Id: I97fdc0eadbecff10bfedaa71cabd0ae97de7fb83
Diffstat (limited to 'tools')
-rw-r--r--tools/check-flagged-apis/src/com/android/checkflaggedapis/Main.kt2
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) }
}
}