OTA升级,以及location命令后,发送完消息,把手机号清除,防止误判。
authorsnickersun <scy@incartech.cn>
Mon, 4 May 2020 07:10:33 +0000 (15:10 +0800)
committersnickersun <scy@incartech.cn>
Mon, 4 May 2020 07:10:33 +0000 (15:10 +0800)
app/src/main/java/com/enqualcomm/support/ICSmsManager.java

index df31f3a..297e77f 100644 (file)
@@ -71,6 +71,7 @@ public class ICSmsManager {
                 locationClient.setLocationResponse(null);\r
             }\r
             sendSMS(cell_number_to_reply,"http://maps.google.com/?q="+locationResponseUrl);\r
+            cell_number_to_reply="";\r
 \r
         }\r
     }\r
@@ -136,6 +137,7 @@ public class ICSmsManager {
             }else if (ACTION_SMSCMD_Reply.equals(action)){\r
                 String replydata=intent.getStringExtra(KeyReplyData);\r
                 sendSMS(cell_number_to_reply,replydata);\r
+                cell_number_to_reply="";\r
             }\r
         }\r
     };\r