mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-09-01 22: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:
committed by
Simon Redman
parent
6c2ffa5796
commit
e07fe54d5c
@@ -330,8 +330,10 @@ public class SMSHelper {
|
|||||||
switch (transportType) {
|
switch (transportType) {
|
||||||
case SMS:
|
case SMS:
|
||||||
toReturn.add(parseSMS(context, messageInfo));
|
toReturn.add(parseSMS(context, messageInfo));
|
||||||
|
break;
|
||||||
case MMS:
|
case MMS:
|
||||||
toReturn.add(parseMMS(context, messageInfo, userPhoneNumbers));
|
toReturn.add(parseMMS(context, messageInfo, userPhoneNumbers));
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
// Swallow exceptions in case we get an error reading one message so that we
|
// Swallow exceptions in case we get an error reading one message so that we
|
||||||
|
Reference in New Issue
Block a user