\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
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