Skip to content

Commit

Permalink
Merge pull request #113 from shiraji/112_fix_problem_with_kapt
Browse files Browse the repository at this point in the history
Change to RetentionPolicy.CLASS
  • Loading branch information
Shintaro Katafuchi committed Mar 10, 2016
2 parents e5c639f + 21e4886 commit 1dcfac5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Register some methods which permissions are needed.
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.SOURCE)
@Retention(RetentionPolicy.CLASS)
public @interface NeedsPermission {
String[] value();
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Register some methods handling the user's choice to permanently deny permissions.
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.SOURCE)
@Retention(RetentionPolicy.CLASS)
public @interface OnNeverAskAgain {
String[] value();
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Register some methods which permissions are needed.
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.SOURCE)
@Retention(RetentionPolicy.CLASS)
public @interface OnPermissionDenied {
String[] value();
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Register some methods which explain why permissions are needed.
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.SOURCE)
@Retention(RetentionPolicy.CLASS)
public @interface OnShowRationale {
String[] value();
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
* Register an <code>Activity</code> or <code>Fragment</code> to handle permissions.
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.SOURCE)
@Retention(RetentionPolicy.CLASS)
public @interface RuntimePermissions {
}

0 comments on commit 1dcfac5

Please sign in to comment.