summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Su <dysu@google.com>2020-01-10 12:37:24 -0800
committerDavid Su <dysu@google.com>2020-01-12 18:35:01 -0800
commit7f528b9a3309f3a3ffc16827954e9acaefe7cf6b (patch)
treedb34c87c4ab9e99fdbd38f5518de5020e039f647
parent369c920552d28b3ac759035f89af06f83b9db684 (diff)
SystemService annotation: Remove import of Context
Remove import of Context to allow this annotation to be statically linked easily. Bug: 142886292 Test: compiles Change-Id: I74b02d562a9df1729e4046c7a1e6d5d8033f21e2
-rw-r--r--core/java/android/annotation/SystemService.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/core/java/android/annotation/SystemService.java b/core/java/android/annotation/SystemService.java
index 0c5d15e178a3..c05c1bab06d2 100644
--- a/core/java/android/annotation/SystemService.java
+++ b/core/java/android/annotation/SystemService.java
@@ -19,14 +19,12 @@ package android.annotation;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.SOURCE;
-import android.content.Context;
-
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
* Description of a system service available through
- * {@link Context#getSystemService(Class)}. This is used to auto-generate
+ * {@link android.content.Context#getSystemService(Class)}. This is used to auto-generate
* documentation explaining how to obtain a reference to the service.
*
* @hide
@@ -36,9 +34,9 @@ import java.lang.annotation.Target;
public @interface SystemService {
/**
* The string name of the system service that can be passed to
- * {@link Context#getSystemService(String)}.
+ * {@link android.content.Context#getSystemService(String)}.
*
- * @see Context#getSystemServiceName(Class)
+ * @see android.content.Context#getSystemServiceName(Class)
*/
String value();
}