diff options
author | 2025-03-19 22:04:27 +0000 | |
---|---|---|
committer | 2025-03-19 23:54:15 +0000 | |
commit | 653c770c477771eed21a8dd3cac721daf9cfea40 (patch) | |
tree | e74ee47244227348964b856bf3f80cf98068173c /tools | |
parent | c79fa9c9724a7a2e52f88d4a09d4a1a43914a55d (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.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) } } } |