pull/2718/head
kunfei 2 years ago
parent 3846a02923
commit cc642040d6
  1. 2
      app/src/main/java/io/legado/app/lib/permission/PermissionActivity.kt

@ -44,7 +44,7 @@ class PermissionActivity : AppCompatActivity() {
RequestPlugins.sRequestCallback?.onError(e)
finish()
}
//所有文件所有文件的管理权限
//所有文件的管理权限
Request.TYPE_MANAGE_ALL_FILES_ACCESS_PERMISSION -> try {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
val settingIntent = Intent(Settings.ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION)

Loading…
Cancel
Save