release V506
authorsnickersun <scy@incartech.cn>
Thu, 27 Aug 2020 04:05:59 +0000 (12:05 +0800)
committersnickersun <scy@incartech.cn>
Thu, 27 Aug 2020 04:05:59 +0000 (12:05 +0800)
去掉睡眠数据延时上报,解决网络不好造成 timer被重置,最终影响睡眠数据上报。

app/release/ICSer_V505_2008270006_release.apk [new file with mode: 0644]
app/release/ICSer_V506_2008271154_release.apk [moved from app/release/ICSer_V504_2008212009_release.apk with 78% similarity]
app/release/output.json
app/src/main/java/com/enqualcomm/support/CoreService.java
app/version_code.properties

diff --git a/app/release/ICSer_V505_2008270006_release.apk b/app/release/ICSer_V505_2008270006_release.apk
new file mode 100644 (file)
index 0000000..8dd2847
Binary files /dev/null and b/app/release/ICSer_V505_2008270006_release.apk differ
similarity index 78%
rename from app/release/ICSer_V504_2008212009_release.apk
rename to app/release/ICSer_V506_2008271154_release.apk
index cf14047..51d0fe1 100644 (file)
Binary files a/app/release/ICSer_V504_2008212009_release.apk and b/app/release/ICSer_V506_2008271154_release.apk differ
index e48e91c..068be26 100644 (file)
@@ -1 +1 @@
-[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":504,"versionName":"2008212009","enabled":true,"outputFile":"ICSer_V504_2008212009_release.apk","fullName":"release","baseName":"release"},"path":"ICSer_V504_2008212009_release.apk","properties":{}}]
\ No newline at end of file
+[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":506,"versionName":"2008271154","enabled":true,"outputFile":"ICSer_V506_2008271154_release.apk","fullName":"release","baseName":"release"},"path":"ICSer_V506_2008271154_release.apk","properties":{}}]
\ No newline at end of file
index 78fadad..752b538 100644 (file)
@@ -812,17 +812,17 @@ public class CoreService extends Service {
                             + " light " + si.getLightsleep_minutes()\r
                             + " score " + si.getScore()\r
                     );\r
-                    Observable.timer(randomint * 60 * 1000L, TimeUnit.MILLISECONDS).subscribe(new Action1<Long>() {\r
-                        public void call(Long param1Long) {\r
-//                        connection.send(protocolAPIHelper);\r
+//                    Observable.timer(randomint * 60 * 1000L, TimeUnit.MILLISECONDS).subscribe(new Action1<Long>() {\r
+//                        public void call(Long param1Long) {\r
+\r
                             ICLogger.i("Send  sleep info " + si.getCurrentDate()\r
                                     + " deep " + si.getDeepsleep_minutes()\r
                                     + " light " + si.getLightsleep_minutes()\r
                                     + " score " + si.getScore()\r
                             );\r
                             Deliver.sendLocationMSG(protocolAPIHelper.getSleepMSG(SleepInfo.getInstance()));\r
-                        }\r
-                    });\r
+//                        }\r
+//                    });\r
 \r
                 }\r
             }\r
index e9912a8..66fb031 100644 (file)
@@ -1,2 +1,2 @@
-#Fri Aug 21 20:09:36 CST 2020\r
-VERSION_CODE=504\r
+#Thu Aug 27 11:54:58 CST 2020\r
+VERSION_CODE=506\r