No persistable permission grants found for URI
But I'm getting this error even after taking uri permission using takePersistableUriPermission(uri, Intent.FLAG_GRANT_READ_URI_PERMISSION) in onActivityResult.
takePersistableUriPermission()
is for ACTION_OPEN_DOCUMENT
and other actions that are part of the Storage Access Framework, not for ACTION_GET_CONTENT
.