DocumentFileCompat icon indicating copy to clipboard operation
DocumentFileCompat copied to clipboard

A blazing fast alternative to AndroidX's DocumentFile.

Results 2 DocumentFileCompat issues
Sort by recently updated
recently updated
newest added

Error from logcat is: `FATAL EXCEPTION: main Process: com.name.app, PID: 22818 java.lang.IllegalArgumentException: Failed to determine if primary:Pictures/Wallpaper/38qs4xw3x5k71_result.jpg is child of primary:Pictures/Wallpaper: java.io.FileNotFoundException: Missing file for primary:Pictures/Wallpaper at /storage/emulated/0/Pictures/Wallpaper at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:172)...

Use `DocumentFileCompat documentFileCompat = DocumentFileCompat.fromTreeUri(mContext, uri);` Uri is `content://com.android.externalstorage.documents/tree/primary:Android/data/document/primary:Android/data/com.iapp.app/456/` Here `Uri.decode(documentFileCompat.getUri().toString())` return `content://com.android.externalstorage.documents/tree/primary:Android/data/document/primary:Android/data` In short, Uri has been changed