Android 12
Closed this issue · 0 comments
java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=520, result=-1, data=Intent { dat=content://com.android.providers.downloads.documents/document/256 flg=0x1 }} to activity {io.neoterm/io.neoterm.ui.setup.SetupActivity}: java.lang.IllegalArgumentException: Unknown URI: content://downloads/public_downloads/256
at android.app.ActivityThread.deliverResults(ActivityThread.java:5453)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:5492)
at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:54)
at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2282)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:210)
at android.os.Looper.loop(Looper.java:299)
at android.app.ActivityThread.main(ActivityThread.java:8250)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:556)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
Caused by: java.lang.IllegalArgumentException: Unknown URI: content://downloads/public_downloads/256
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:172)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)
at android.content.ContentProviderProxy.query(ContentProviderNative.java:481)
at android.content.ContentResolver.query(ContentResolver.java:1219)
at android.content.ContentResolver.query(ContentResolver.java:1151)
at android.content.ContentResolver.query(ContentResolver.java:1107)
at io.neoterm.utils.MediaUtils.getDataColumn(MediaUtils.kt:107)
at io.neoterm.utils.MediaUtils.getPath(MediaUtils.kt:52)
at io.neoterm.ui.setup.SetupActivity.onActivityResult(SetupActivity.kt:89)
at android.app.Activity.dispatchActivityResult(Activity.java:8630)
at android.app.ActivityThread.deliverResults(ActivityThread.java:5446)
... 13 more