Open amaze-issue-automation[bot] opened 2 years ago
I can reliably reproduce this by attempting to copy a file from one application's data directory directly into a different application's data directory.
To reproduce:
/storage/emulated/0/Android/com.dev.app1/
and /storage/emulated/0/Android/com.dev.app2/
/storage/emulated/0/Android/com.dev.app1/some_file
directly into /storage/emulated/0/Android/com.dev.app2/
.Note that copying the file to some other non-app directory first, then copying from there to the app2 directory works fine. It seems like just app directory -> app directory is the issue.
@TranceLove will this be fixed with #4047?
@VishnuSanal We may add a band-it solution to fix the NPE, but on the other hand I expect more refactorings to OTGUtils to support multiple URI roots in order for copying between different Android/data directories to work 🥲
Issue explanation (write below this line)
Hope this helps & is in the correct place
Exception
Crash log
Reporter: via80hd