release V396
authorsnickersun <scy@incartech.cn>
Wed, 8 Apr 2020 14:29:32 +0000 (22:29 +0800)
committersnickersun <scy@incartech.cn>
Wed, 8 Apr 2020 14:29:32 +0000 (22:29 +0800)
去掉sendMessage,直接调用waitAndSendLocation() 函数。
尝试去除 消息机制可能造成的延迟。

app/release/ICSer_V395_2004071832_release.apk [deleted file]
app/release/ICSer_V396_2004082225_release.apk [new file with mode: 0644]
app/src/main/java/com/enqualcomm/support/LocationClient.java
app/version_code.properties

diff --git a/app/release/ICSer_V395_2004071832_release.apk b/app/release/ICSer_V395_2004071832_release.apk
deleted file mode 100644 (file)
index 3d872a6..0000000
Binary files a/app/release/ICSer_V395_2004071832_release.apk and /dev/null differ
diff --git a/app/release/ICSer_V396_2004082225_release.apk b/app/release/ICSer_V396_2004082225_release.apk
new file mode 100644 (file)
index 0000000..43ee67e
Binary files /dev/null and b/app/release/ICSer_V396_2004082225_release.apk differ
index b6f0b15..9e55428 100644 (file)
@@ -271,7 +271,8 @@ public class LocationClient {
       mTimer.scheduleAtFixedRate(new Runnable() {\r
         @Override\r
         public void run() {\r
-          mhandler.sendEmptyMessage(msgWhat_WaitAndSendLocation);\r
+          waitAndSendLocation();\r
+          //mhandler.sendEmptyMessage(msgWhat_WaitAndSendLocation);\r
         }\r
       }, 1000L, 1000L,TimeUnit.MILLISECONDS);\r
 //    AlarmManager alarmManager=(AlarmManager)runtime.getContextProxy().context.getSystemService(Context.ALARM_SERVICE);\r
index 5dff3e5..c7b2868 100644 (file)
@@ -1,2 +1,2 @@
-#Tue Apr 07 18:32:46 CST 2020\r
-VERSION_CODE=395\r
+#Wed Apr 08 22:25:32 CST 2020\r
+VERSION_CODE=396\r