添加权限请求

pull/32/head
Invinciblelee 6 years ago
parent 2c8a0c330a
commit 17b59ad7de
  1. 2
      app/src/main/java/io/legado/app/help/permission/RequestManager.kt

@ -39,7 +39,7 @@ internal object RequestManager : OnPermissionsResultCallback {
it.push(request)
}
if (isCurrentRequestInvalid) {
if (!it.empty() && isCurrentRequestInvalid) {
this.request = it.pop()
handler.post(requestRunnable)
}

Loading…
Cancel
Save