From 738a23fbebc9a0fbdfcfecfbc2f9ee25ad39e9ca Mon Sep 17 00:00:00 2001 From: Mathew Inwood Date: Wed, 25 Jul 2018 09:45:04 +0100 Subject: Update annotation name in class2greylist. Annotation was added with name @UnsupportedAppUsage after Android API council discussion. Bug: 110868826 Test: m class2greylist Change-Id: I63ad61e97c5e8fdebfcead9e4ee5b060a60f97c7 --- .../class2greylist/src/com/android/class2greylist/Class2Greylist.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/hiddenapi/class2greylist/src/com/android/class2greylist/Class2Greylist.java b/tools/hiddenapi/class2greylist/src/com/android/class2greylist/Class2Greylist.java index bcccf4aa18a9..008bf70a2595 100644 --- a/tools/hiddenapi/class2greylist/src/com/android/class2greylist/Class2Greylist.java +++ b/tools/hiddenapi/class2greylist/src/com/android/class2greylist/Class2Greylist.java @@ -33,7 +33,7 @@ import java.io.IOException; */ public class Class2Greylist { - private static final String ANNOTATION_TYPE = "Landroid/annotation/UsedByApps;"; + private static final String ANNOTATION_TYPE = "Landroid/annotation/UnsupportedAppUsage ;"; public static void main(String[] args) { Options options = new Options(); -- cgit v1.2.3-59-g8ed1b