Skip to content

Commit 5b83d5a

Browse files
author
hotchemi
committed
Update readme.
1 parent a1f4508 commit 5b83d5a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/java_usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ PermissionsDispatcher introduces only a few annotations, keeping its general API
1616
1717
|Annotation|Required|Description|
1818
|---|---|---|
19-
|`@RuntimePermissions`|****|Register an `Activity` or `Fragment`(we support both) to handle permissions|
19+
|`@RuntimePermissions`|****|Register an `Activity`, `Fragment` or [Controller](https://github.com/bluelinelabs/Conductor) to handle permissions|
2020
|`@NeedsPermission`|****|Annotate a method which performs the action that requires one or more permissions|
2121
|`@OnShowRationale`||Annotate a method which explains why the permissions are needed. It passes in a `PermissionRequest` object which can be used to continue or abort the current permission request upon user input. If you don't specify any argument for the method compiler will generate `process${NeedsPermissionMethodName}ProcessRequest` and `cancel${NeedsPermissionMethodName}ProcessRequest`. You can use those methods in place of `PermissionRequest`(ex: with `DialogFragment`)|
2222
|`@OnPermissionDenied`||Annotate a method which is invoked if the user doesn't grant the permissions|

doc/kotlin_usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ PermissionsDispatcher introduces only a few annotations, keeping its general API
1616
1717
|Annotation|Required|Description|
1818
|---|---|---|
19-
|`@RuntimePermissions`|****|Register an `Activity` or `Fragment`(we support both) to handle permissions|
19+
|`@RuntimePermissions`|****|Register an `Activity`, `Fragment` or [Controller](https://github.com/bluelinelabs/Conductor) to handle permissions|
2020
|`@NeedsPermission`|****|Annotate a method which performs the action that requires one or more permissions|
2121
|`@OnShowRationale`||Annotate a method which explains why the permissions are needed. It passes in a `PermissionRequest` object which can be used to continue or abort the current permission request upon user input. If you don't specify any argument for the method compiler will generate `process${NeedsPermissionMethodName}ProcessRequest` and `cancel${NeedsPermissionMethodName}ProcessRequest`. You can use those methods in place of `PermissionRequest`(ex: with `DialogFragment`)|
2222
|`@OnPermissionDenied`||Annotate a method which is invoked if the user doesn't grant the permissions|

0 commit comments

Comments
 (0)