* Encode lone % chars
* No need to decode on Android
(cherry picked from commit 7c827fe319)
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* Get extension from Content-Disposition first
* User ImageCacheManager.cache over getCacheFile
* Add unit tests for ImageCacheManager.getCacheFile
* Add unit tests for ImageCacheManager.cache
* Use exports and require to be able to mock isDownloading
* Chain mockReturnValueOnce calls
* Fix getExtensionFromContentDisposition and its unit tests