2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 21:55:10 +00:00

fix sms sync

Missing break statements causes sync issues and SMS to be parsed as MMS and leads to the URI of a SMS not being found within the MMS content and SMS sync failing.
This commit is contained in:
Aditya Mehra
2023-04-12 17:12:57 +00:00
committed by Simon Redman
parent 6c2ffa5796
commit e07fe54d5c

View File

@@ -330,8 +330,10 @@ public class SMSHelper {
switch (transportType) {
case SMS:
toReturn.add(parseSMS(context, messageInfo));
break;
case MMS:
toReturn.add(parseMMS(context, messageInfo, userPhoneNumbers));
break;
}
} catch (Exception e) {
// Swallow exceptions in case we get an error reading one message so that we