Merge "Replace import with fully qualified javadoc."
am: 31a7838fb1
Change-Id: I1ede620fad6dfe3debb7156bf882a27402bfb5d9
This commit is contained in:
@@ -15,8 +15,6 @@
|
|||||||
*/
|
*/
|
||||||
package android.annotation;
|
package android.annotation;
|
||||||
|
|
||||||
import android.content.Intent;
|
|
||||||
|
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
||||||
import java.lang.annotation.Target;
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
@@ -57,7 +55,7 @@ import static java.lang.annotation.RetentionPolicy.SOURCE;
|
|||||||
* <p>
|
* <p>
|
||||||
* When specified on a parameter, the annotation indicates that the method requires
|
* 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
|
* 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
|
* <pre>{@code
|
||||||
* public void startActivity(@RequiresPermission Intent intent) { ... }
|
* public void startActivity(@RequiresPermission Intent intent) { ... }
|
||||||
* }</pre>
|
* }</pre>
|
||||||
|
|||||||
Reference in New Issue
Block a user