Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 788897ef authored by Paul Duffin's avatar Paul Duffin
Browse files

Update as AnnotationAttribute.value is now legacyValue

Previously, this used `AnnotationAttribute.value` but that has just
been renamed to `legacyValue`.

Bug: 354633349
Test: m extract-flagged-apis
Change-Id: Iaaee754c41fedd16f8c9432a21ec8339025c0a03
parent 23ba0666
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -88,6 +88,6 @@ fun getFlagAnnotation(item: Item): String? {
    return item.modifiers
        .findAnnotation("android.annotation.FlaggedApi")
        ?.findAttribute("value")
        ?.value
        ?.legacyValue
        ?.value() as? String
}