Replace import with fully qualified javadoc.
Some internal changes are depending more strongly on annotations being "leaves" which don't directly reference other parts of the OS, so replace the direct import of Intent with a qualified javadoc reference. Bug: 144247087 Test: atest --test-mapping packages/providers/MediaProvider Change-Id: I198d84a755b5e270a19b41328f6a6e152112c40a Merged-In: I198d84a755b5e270a19b41328f6a6e152112c40a
This commit is contained in:
@@ -15,8 +15,6 @@
|
||||
*/
|
||||
package android.annotation;
|
||||
|
||||
import android.content.Intent;
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@@ -57,7 +55,7 @@ import static java.lang.annotation.RetentionPolicy.SOURCE;
|
||||
* <p>
|
||||
* When specified on a parameter, the annotation indicates that the method requires
|
||||
* a permission which depends on the value of the parameter. For example, consider
|
||||
* {@link android.app.Activity#startActivity(Intent)}:
|
||||
* {@link android.app.Activity#startActivity(android.content.Intent)}:
|
||||
* <pre>{@code
|
||||
* public void startActivity(@RequiresPermission Intent intent) { ... }
|
||||
* }</pre>
|
||||
|
||||
Reference in New Issue
Block a user