Skip to content
Snippets Groups Projects
Unverified Commit 228bc938 authored by js6pak's avatar js6pak
Browse files

Fix canWriteStorage on A11

parent 50caf377
No related branches found
No related tags found
No related merge requests found
Pipeline #175485 passed with stage
in 3 minutes and 5 seconds
......@@ -102,7 +102,7 @@ object Permissions {
@JvmOverloads
fun canWriteStorage(context: Context = AppContextProvider.appContext): Boolean {
return ContextCompat.checkSelfPermission(context,
return hasAllAccess(context) || ContextCompat.checkSelfPermission(context,
Manifest.permission.WRITE_EXTERNAL_STORAGE) == PackageManager.PERMISSION_GRANTED
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment