Yalantis/uCrop

SecurityException

Mallikarjun-Reddy-Mokalla opened this issue · 0 comments

I am getting this issue when I am using Ucrop dependency and using crop functionality

Caused by java.lang.SecurityException: Permission Denial: opening provider com.miui.gallery.provider.GalleryOpenProvider from ProcessRecord{949705 15861:com.blackhash.snaptune/u0a310} (pid=15861, uid=10310) that is not exported from UID 10108
at android.os.Parcel.createExceptionOrNull(Parcel.java:2376)
at android.os.Parcel.createException(Parcel.java:2360)
at android.os.Parcel.readException(Parcel.java:2343)
at android.os.Parcel.readException(Parcel.java:2285)
at android.app.IActivityManager$Stub$Proxy.getContentProvider(IActivityManager.java:5949)
at android.app.ActivityThread.acquireProvider(ActivityThread.java:7184)
at android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:2954)
at android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:2509)
at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1994)
at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1825)
at android.content.ContentResolver.openInputStream(ContentResolver.java:1502)
at com.yalantis.ucrop.task.BitmapLoadTask.copyFile(BitmapLoadTask.java:179)
at com.yalantis.ucrop.task.BitmapLoadTask.processInputUri(BitmapLoadTask.java:158)
at com.yalantis.ucrop.task.BitmapLoadTask.doInBackground(BitmapLoadTask.java:87)
at com.yalantis.ucrop.task.BitmapLoadTask.doInBackground(BitmapLoadTask.java:36)
at android.os.AsyncTask$3.call(AsyncTask.java:394)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)