https://bugs.kde.org/show_bug.cgi?id=528495
--- Comment #2 from Raphael <[email protected]> --- (In reply to Albert Vaca Cintora from comment #1) > I'm not sure we can fix this (because background apps can't launch > activities), but I actually think that the best option here is to simply not > offer those actions in the desktop: IMO actions like "mark as read" make > sense to trigger remotely, actions like "open the app" don't make sense, > since you are not on your phone. What do you think? Thanks for looking into it. I agree, hiding them is better than a button that silently does nothing. I don't see a clean way around the restriction either: opting in with ActivityOptions only passes on privileges KDE Connect already has, and in the log the sender only has the foreground service one (balAllowedByPiSender: BSP.ALLOW_FGS, resultIfPiSenderAllowsBal: BAL_BLOCK). SYSTEM_ALERT_WINDOW is in the manifest, but it's optional (for the clipboard feature) and, as far as I know, on recent Android versions it only exempts apps that have a visible overlay window. Since API 31 there is PendingIntent.isActivity(), so extractActions() in NotificationsPlugin.kt could skip those actions: if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S && action.actionIntent?.isActivity == true) { continue } Below API 31 the current behavior could stay as it is. Happy to test a build on my S25 Ultra (Android 17) if that helps. -- You are receiving this mail because: You are watching all bug changes.
