Merge "Replace import with fully qualified javadoc." am: 31a7838fb1 am: 1d5eed4cb0
Change-Id: I0f1e36b55517c9d875c5351f39940ed4742f3acd
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