summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mathew Inwood <mathewi@google.com> 2018-07-25 09:45:04 +0100
committer Mathew Inwood <mathewi@google.com> 2018-07-25 09:45:04 +0100
commit738a23fbebc9a0fbdfcfecfbc2f9ee25ad39e9ca (patch)
treeec5244abd94a8e97ba49b3f70424b82071ff8c2b
parent9a783699cc0efd4d980ec1e35e7df56448ef32f4 (diff)
Update annotation name in class2greylist.
Annotation was added with name @UnsupportedAppUsage after Android API council discussion. Bug: 110868826 Test: m class2greylist Change-Id: I63ad61e97c5e8fdebfcead9e4ee5b060a60f97c7
-rw-r--r--tools/hiddenapi/class2greylist/src/com/android/class2greylist/Class2Greylist.java2
1 files changed, 1 insertions, 1 deletions
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();