[x] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
[ ] Added automated test coverage as appropriate for this change.
We should call remapUri on background thread otherwise it throws IllegalStateException when trying to remap 'cdvfile://localhost/content/...' URIs via ContentFilesystem
Platforms affected
Android
What does this PR do?
This PR fixes application crash when trying to upload file from 'Content' file system, specified by
cdvfile://localhost/content/...
URI.What testing has been done on this change?
Manual and automated testing
Checklist
We should call
remapUri
on background thread otherwise it throwsIllegalStateException
when trying to remap 'cdvfile://localhost/content/...' URIs viaContentFilesystem