release V441
authorsnickersun <scy@incartech.cn>
Sun, 12 Jul 2020 14:48:15 +0000 (22:48 +0800)
committersnickersun <scy@incartech.cn>
Sun, 12 Jul 2020 14:48:15 +0000 (22:48 +0800)
H88增加默认设置模式GPS定位,1小时定位一次

app/release/ICSer_V441_2007122246_release.apk [moved from app/release/ICSer_V440_2007122146_release.apk with 79% similarity]
app/src/main/java/com/enqualcomm/support/Config.java
app/src/main/java/com/enqualcomm/support/CoreService.java
app/version_code.properties

similarity index 79%
rename from app/release/ICSer_V440_2007122146_release.apk
rename to app/release/ICSer_V441_2007122246_release.apk
index 3453486..8480879 100644 (file)
Binary files a/app/release/ICSer_V440_2007122146_release.apk and b/app/release/ICSer_V441_2007122246_release.apk differ
index 80cc05c..04e4e51 100644 (file)
@@ -310,8 +310,8 @@ public class Config {
   public static void setHeartBeatCycle(Context context,int cycle){\r
     SharPreferenceUtil.setPrefInt(context,KeyHeartBeatCycle,cycle);\r
   }\r
-  public static void setLocationCycle(Context context,int cycle){\r
-    SharPreferenceUtil.setPrefInt(context,KeyLocationCycle,cycle);\r
+  public static void setLocationCycle(Context context,int cycle_second){\r
+    SharPreferenceUtil.setPrefInt(context,KeyLocationCycle,cycle_second);\r
   }\r
 \r
   public static int getLocationCycle(Context context){\r
index f634cc0..ae5f525 100644 (file)
@@ -15,6 +15,7 @@ import android.os.PowerManager;
 import android.os.SystemClock;\r
 import android.widget.Toast;\r
 \r
+import com.enqualcomm.support.bean.ICLocation;\r
 import com.enqualcomm.support.service.AntiMonitorService;\r
 import com.enqualcomm.support.utils.DeviceInfoUtil;\r
 import com.enqualcomm.support.utils.LedUtil;\r
@@ -525,6 +526,8 @@ public class CoreService extends Service {
 \r
 \r
         if (Config.c41_branch_name.equals("H88")){\r
+            Config.setLocationMode(this, CUSTOM_MOD);\r
+            Config.setLocationCycle(this,3600);\r
             Config.setPPGTestCycle(this,60);\r
             Config.setTemperatureTestCycle(runtime,60);\r
         }\r
index d37214c..13dd8e7 100644 (file)
@@ -1,2 +1,2 @@
-#Sun Jul 12 21:46:55 CST 2020\r
-VERSION_CODE=440\r
+#Sun Jul 12 22:46:49 CST 2020\r
+VERSION_CODE=441\r