Matthew 1 year ago
commit 3907253afe

@ -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