https://bugs.kde.org/show_bug.cgi?id=490647
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |CONFIRMED --- Comment #5 from [email protected] --- 12-24 00:08:24.917 8835 32006 I SharePlugin: hasUrl: 12-24 00:08:24.923 8835 32006 E SharePlugin: Exception 12-24 00:08:24.923 8835 32006 W System.err: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat= flg=0x10000000 xflg=0x4 } 12-24 00:08:24.923 8835 32006 W System.err: at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2457) 12-24 00:08:24.923 8835 32006 W System.err: at android.app.Instrumentation.execStartActivity(Instrumentation.java:2031) 12-24 00:08:24.923 8835 32006 W System.err: at android.app.ContextImpl.startActivity(ContextImpl.java:1172) 12-24 00:08:24.923 8835 32006 W System.err: at android.app.ContextImpl.startActivity(ContextImpl.java:1143) 12-24 00:08:24.923 8835 32006 W System.err: at android.content.ContextWrapper.startActivity(ContextWrapper.java:448) 12-24 00:08:24.923 8835 32006 W System.err: at org.kde.kdeconnect.Helpers.IntentHelper.startActivityFromBackgroundOrCreateNotification(IntentHelper.java:45) 12-24 00:08:24.923 8835 32006 W System.err: at org.kde.kdeconnect.Plugins.SharePlugin.SharePlugin.receiveUrl(SharePlugin.java:252) 12-24 00:08:24.923 8835 32006 W System.err: at org.kde.kdeconnect.Plugins.SharePlugin.SharePlugin.onPacketReceived(SharePlugin.java:231) 12-24 00:08:24.923 8835 32006 W System.err: at org.kde.kdeconnect.Device.notifyPluginPacketReceived(Device.kt:450) 12-24 00:08:24.923 8835 32006 W System.err: at org.kde.kdeconnect.Device.onPacketReceived(Device.kt:435) 12-24 00:08:24.923 8835 32006 W System.err: at org.kde.kdeconnect.Backends.BaseLink.packetReceived(BaseLink.java:60) 12-24 00:08:24.923 8835 32006 W System.err: at org.kde.kdeconnect.Backends.LanBackend.LanLink.receivedNetworkPacket(LanLink.java:261) 12-24 00:08:24.923 8835 32006 W System.err: at org.kde.kdeconnect.Backends.LanBackend.LanLink.$r8$lambda$1roQrklD197DaNpVzAP29DenyWc(LanLink.java:91) 12-24 00:08:24.923 8835 32006 W System.err: at org.kde.kdeconnect.Backends.LanBackend.LanLink$$ExternalSyntheticLambda1.run(R8$$SyntheticClass:0) 12-24 00:08:24.923 8835 32006 W System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1154) 12-24 00:08:24.924 8835 32006 W System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:652) 12-24 00:08:24.924 8835 32006 W System.err: at java.lang.Thread.run(Thread.java:1563) so from what i can gather, in the onPacketReceived function at https://invent.kde.org/network/kdeconnect-android/-/blob/master/src/org/kde/kdeconnect/Plugins/SharePlugin/SharePlugin.java?ref_type=heads somehow it is skipping the "if (filename)" check and passing the url check, which bascially means that instead of CompositeReceiveFileJob being called, a browserintent is attempted to be opened, which causes the android.content.ActivityNotFoundException which inturn is unable to handle the file. since i dont know much about android dev, would like to see if a maintainer can see this and look into whats wrong. -- You are receiving this mail because: You are watching all bug changes.
