summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2025-03-20 02:26:55 -0700
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-03-20 02:26:55 -0700
commitb0397f86018c239b1810fcd8a739e7910ac782a5 (patch)
treee74ee47244227348964b856bf3f80cf98068173c
parent2fd4423daeab2554ac826337052aec15c841c897 (diff)
parent653c770c477771eed21a8dd3cac721daf9cfea40 (diff)
Merge "Update as AnnotationAttribute.value is now legacyValue" into main
-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) }
}
}