Skip to content

Commit

Permalink
申请权限弹窗时所有的权限一起申请
Browse files Browse the repository at this point in the history
  • Loading branch information
hexindaiyinzhengwei committed Jun 21, 2019
1 parent cadc05c commit 2ba3cba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Step 2. Add the dependency

dependencies {

implementation 'com.github.yinzhengwei:permissiongranted:18.0.0'
implementation 'com.github.yinzhengwei:permissiongranted:19.0.0'

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class PermissionFetchUI : Activity() {
if (!isOpenPermisson(this, it)) {
// 缺少权限时, 申请权限
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
openPermission(this, it, REQUESTCODE)
openPermission(this, psn, REQUESTCODE)
return
} else {
if (isAutoTip) {
Expand Down

0 comments on commit 2ba3cba

Please sign in to comment.