igreenwood / SimpleCropView

A simple image cropping library for Android.
MIT License
2.48k stars 465 forks source link

Fix loading from Downloads folder in Android 9 and above #157

Open hidekisdev opened 3 years ago

hidekisdev commented 3 years ago

Hi Aoki-san,

Based on issue #151 I reported, I fixed the issue this time. Since Android 9, contentUri starting with "content://downloads/public_downloads/" doesn't work anymore. So basically I retrieved external storage path instead.

Please have a look at the code. SimpleCropView has helped me out, I hope this commit helps your development as well.

Thanks for your time and reading this in advance.