summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2025-03-20 02:26:54 -0700
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-03-20 02:26:54 -0700
commiteea3b0d26916f92184b48d8ba95a064db2ca884c (patch)
tree2e7ab109380226d9b696303bafa85bd49574a4b4
parent23ba06663f4cc42d971c616a0df3de047d2cd6dc (diff)
parent788897ef0680b00c8f5744650aa42614290b5690 (diff)
Merge "Update as AnnotationAttribute.value is now legacyValue" into main
-rw-r--r--api/coverage/tools/ExtractFlaggedApis.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/coverage/tools/ExtractFlaggedApis.kt b/api/coverage/tools/ExtractFlaggedApis.kt
index 0a3ae4f790b0..e50f7f876f51 100644
--- a/api/coverage/tools/ExtractFlaggedApis.kt
+++ b/api/coverage/tools/ExtractFlaggedApis.kt
@@ -88,6 +88,6 @@ fun getFlagAnnotation(item: Item): String? {
return item.modifiers
.findAnnotation("android.annotation.FlaggedApi")
?.findAttribute("value")
- ?.value
+ ?.legacyValue
?.value() as? String
}