Blankj / Blankj/AndroidUtilCode

Can not uri2File with paht com.google.android.apps.docs.storage

Open
#1,439 1 comment 0 reactions 1 assignee Claimed by @Blankj View on GitHub
bug
Dominant language
Java
Stars
33.6k
Forks
10.6k
PR merge metrics
No merged PRs in 30d

Description

## Describe the bug

Step 1: Open file selector by Intent ( OS default)
Step 2: select file from Google Drive
Step 3: We have a file with the wrong file name

uri from intent after select file from google drive
content://com.google.android.apps.docs.storage/document/acc%3D3%3Bdoc%3Dencoded%3DGp3qNtSd17JyIvWWjN4kiMe66gjReS6bFjH9yJoRGAp7CAxPF3tSqyiUVZQX6AWznm4%3D

## The code of bug

```
UriUtils.uri2File(selectedFileFromGoogleDrive)
```

Device:
Samsung A31 - Android 10

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.