Crash report - Failure delivering result ResultInfo{who=@android:requestPermissions:, request=1, result=-1, data=Intent { act=android.content.pm.action.REQUEST_PERMISSIONS (has extras) }} to activity {com.kyhsgeekcode.disassembler/com.kyhsgeekcode.disassembler.MainActivity}: java.lang.SecurityException: Permission Denial: opening provider com.android.externalstorage.ExternalStorageProvider from ProcessRecord{b1c60f7 3456:com.kyhsgeekcode.disassembler/u0a151} (pid=3456, uid=10151) requires that you obtain access using ACTION_OPEN_DOCUMENT or related APIs(ver2.0.2) #143
Labels
bug
Something isn't working
Sent by Björn Sahle' ([email protected]). Created by fire.
java.lang.RuntimeException: Failure delivering result ResultInfo{who=@android:requestPermissions:, request=1, result=-1, data=Intent { act=android.content.pm.action.REQUEST_PERMISSIONS (has extras) }} to activity {com.kyhsgeekcode.disassembler/com.kyhsgeekcode.disassembler.MainActivity}: java.lang.SecurityException: Permission Denial: opening provider com.android.externalstorage.ExternalStorageProvider from ProcessRecord{b1c60f7 3456:com.kyhsgeekcode.disassembler/u0a151} (pid=3456, uid=10151) requires that you obtain access using ACTION_OPEN_DOCUMENT or related APIs
at android.app.ActivityThread.deliverResults(ActivityThread.java:4309)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:4353)
at android.app.ActivityThread.-wrap20(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1678)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6548)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:445)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:857)
Caused by: java.lang.SecurityException: Permission Denial: opening provider com.android.externalstorage.ExternalStorageProvider from ProcessRecord{b1c60f7 3456:com.kyhsgeekcode.disassembler/u0a151} (pid=3456, uid=10151) requires that you obtain access using ACTION_OPEN_DOCUMENT or related APIs
at android.os.Parcel.readException(Parcel.java:2013)
at android.os.Parcel.readException(Parcel.java:1959)
at android.app.IActivityManager$Stub$Proxy.getContentProvider(IActivityManager.java:4766)
at android.app.ActivityThread.acquireProvider(ActivityThread.java:5877)
at android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:2527)
at android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:1780)
at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1394)
at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1247)
at android.content.ContentResolver.openInputStream(ContentResolver.java:967)
at com.kyhsgeekcode.disassembler.MainActivity.onChoosePathNew(MainActivity.kt:718)
at com.kyhsgeekcode.disassembler.MainActivity.handleViewActionIntent(MainActivity.kt:280)
at com.kyhsgeekcode.disassembler.MainActivity.access$handleViewActionIntent(MainActivity.kt:59)
at com.kyhsgeekcode.disassembler.MainActivity$onCreate$2.run(MainActivity.kt:211)
at com.kyhsgeekcode.disassembler.MainActivity.onRequestPermissionsResult(MainActivity.kt:471)
at android.app.Activity.dispatchRequestPermissionsResult(Activity.java:7429)
at android.app.Activity.dispatchActivityResult(Activity.java:7280)
at android.app.ActivityThread.deliverResults(ActivityThread.java:4305)
... 9 more
The text was updated successfully, but these errors were encountered: