修复release版本有时语音消息无法弹出的问题。“
authorsnickersun <snickersun@qq.com>
Tue, 25 Feb 2020 09:57:57 +0000 (17:57 +0800)
committersnickersun <snickersun@qq.com>
Tue, 25 Feb 2020 09:57:57 +0000 (17:57 +0800)
app/src/main/java/com/enqualcomm/support/CoreService.java
app/src/main/java/com/enqualcomm/support/utils/ProcessReceiver.java
app/version_code.properties

index 7205f83..baa3db8 100644 (file)
@@ -304,7 +304,7 @@ public class CoreService extends Service {
 \r
 \r
                 //为了保证唤醒时各个状态及时更新到服务器,发送一个同步心跳包,这样用户体验更好\r
-                CoreService.getInstance().locationClient.updateStepCount();\r
+                CoreService.this.locationClient.updateStepCount();\r
                 Observable.timer(500L, TimeUnit.MILLISECONDS).subscribe(new Action1<Long>() {\r
                     public void call(Long param1Long) {\r
                          connection.send(protocolAPIHelper.genStringMessage("heart",protocolAPIHelper.AP03(runtime)));\r
index a4b51fd..e2de82c 100644 (file)
@@ -98,7 +98,7 @@ public class ProcessReceiver extends BroadcastReceiver {
     last_app_id = app_id;\r
     CustomDialog.Builder tmpDialog;\r
     if (app_id == 1) {\r
-      tmpDialog = this.mDialog.setTitle(context.getString(R.string.setting_title));\r
+      tmpDialog = this.mDialog.setTitle(context.getString(R.string.setting_title)).setApp(1);\r
       StringBuilder var6 = new StringBuilder();\r
       var6.append(context.getString(R.string.voiceMessage));\r
       var6.append("  ");\r
index cc57da3..7c63b58 100644 (file)
@@ -1,2 +1,2 @@
-#Mon Feb 24 18:09:42 CST 2020\r
-VERSION_CODE=358\r
+#Tue Feb 25 15:02:51 CST 2020\r
+VERSION_CODE=362\r