File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Permission/src/main/java/com/hyj/lib/permission Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 88 * Date:2019/9/21 13:23
99 */
1010public final class PermConstant {
11- private static int requestCode = 20190921 ;
11+ private static int requestCode = 1909 ; //20190921
1212
1313 /**
1414 * 获取一个权限请求码
Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ public class PermissionCallbackImpl<T> implements PermissionCallback {
2121 /**
2222 * {@link PermissionCallback}的简单实现
2323 *
24- * @param actFmg 必须是Activity或者android. support.v4.app.Fragment的子类
24+ * @param actFmg 必须是 android.app.Activity 或者 android. support.v4.app.Fragment 的子类
2525 */
2626 public PermissionCallbackImpl (T actFmg ) {
2727 if (!(actFmg instanceof Activity ) && !(actFmg instanceof Fragment )) {
28- throw new IllegalArgumentException ("argument must be instanceof Activity or android.support.v4.app.Fragment" );
28+ throw new IllegalArgumentException ("argument must be instanceof android.app. Activity or android.support.v4.app.Fragment" );
2929 }
3030
3131 this .actFmgInstance = actFmg ;
You can’t perform that action at this time.
0 commit comments