https://bugs.kde.org/show_bug.cgi?id=464392

            Bug ID: 464392
           Summary: Since SDK 31 bump, it is not possible to send SMS
                    using KDE Connect
    Classification: Applications
           Product: kdeconnect
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: android-application
          Assignee: albertv...@gmail.com
          Reporter: si...@ergotech.com
                CC: andrew.g.r.hol...@gmail.com
  Target Milestone: ---

SUMMARY
Since SDK 31
(https://invent.kde.org/network/kdeconnect-android/-/commit/6fbd923c60538c2cc6da22246f5b523ef3160256),
it is not possible to send SMS.

STEPS TO REPRODUCE
1. Use latest KDE Connect release (early January, 2023)
2. Send SMS using KDE Connect

OBSERVED RESULT

> V/Sending message: Sending new SMS
> E/Sending message: Exception
>     java.lang.IllegalArgumentException: org.kde.kdeconnect_tp: Targeting S+ 
> (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be 
> specified when creating a PendingIntent.
>     Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some 
> functionality depends on the PendingIntent being mutable, e.g. if it needs to 
> be used with inline replies or bubbles.
>         at android.app.PendingIntent.checkFlags(PendingIntent.java:382)
>         at 
> android.app.PendingIntent.getBroadcastAsUser(PendingIntent.java:673)
>         at android.app.PendingIntent.getBroadcast(PendingIntent.java:660)
>         at 
> com.klinker.android.send_message.Transaction.sendSmsMessage(Transaction.java:267)
>         at 
> com.klinker.android.send_message.Transaction.sendNewMessage(Transaction.java:158)
>         at 
> com.klinker.android.send_message.Transaction.sendNewMessage(Transaction.java:172)
>         at 
> org.kde.kdeconnect.Plugins.SMSPlugin.SmsMmsUtils.sendMessage(SmsMmsUtils.java:188)
>         at 
> org.kde.kdeconnect.Plugins.SMSPlugin.SMSPlugin.onPacketReceived(SMSPlugin.java:414)
>         at org.kde.kdeconnect.Device.onPacketReceived(Device.java:570)
>         <snipped for brevity>

EXPECTED RESULT

SMS sends

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
Initially reported by another user in
https://bugs.kde.org/show_bug.cgi?id=425638

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to