修改出现无法解析的短信时,不回复error

hdrplus
liuguijing 1 year ago
parent 2fe2095a8a
commit c02a40d7d3

@ -42,7 +42,6 @@ public class SimUtil {
//自定义ACTION常数 作为广播的IntentFilter识别常数
public static String SMS_SEND_ACTION = "com.xypower.mpmaster.SMS_SEND_ACTION";
public static String SMSTYPE = "smstype";
public static String SMSIFCORRECT = "smsifcorrect";
@ -465,7 +464,9 @@ public class SimUtil {
UpdateSysConfigUtil.clearHistoryLogs(context);
sendmessage = getSendString(content, ifmessageCorrect);
}
sendSms(context, slot, sender, sendmessage, sendtype, ifmessageCorrect);
if (ifmessageCorrect) {
sendSms(context, slot, sender, sendmessage, sendtype, ifmessageCorrect);
}
}
}

Loading…
Cancel
Save