resetStepCount();\r
}\r
\r
-\r
+ //初始化消息相关配置\r
+ Config.LoadMessageConfigs();\r
if (Config.c41_branch_name.equals("H88")){\r
\r
if (Config.getH88InitFlag(this)==0) {\r
Config.loadCustomServerAddr(this);\r
Config.loadServerSettings(runtime);\r
\r
- //初始化消息相关配置\r
- Config.LoadMessageConfigs();\r
+\r
\r
\r
//初始化温度测试相关参数\r
this.screenOn(paramContext);\r
}\r
}\r
- } else if (!ACTION_CLOSE_UNREAD_MSG.equals(paramIntent.getAction()) && !"android.intent.action.BATTERY_LOW".equals(paramIntent.getAction())) {\r
- if ("com.enqualcomm.support.ACTION_MISSED_CALL_GET".equals(str)) {\r
- contact = (Contact)paramIntent.getParcelableExtra("contact");\r
- contact.extra = paramIntent.getStringExtra("date");\r
- isSilence = SharPreferenceUtil.getPrefBoolean(paramContext, "KEY_ISSILENCE", false);\r
- if (contact != null && !isSilence) {\r
- this.initMyDialog(paramContext, contact, 2,"");\r
- this.playNotificationVoice(paramContext);\r
- VibrateUtil.getInstance(paramContext).VibrateOn(true);\r
- this.screenOn(paramContext);\r
- }\r
- }\r
- //如果来电了,还有未读的消息,干脆关掉,防止影响接电话。\r
- if (mCustomDialog != null && mCustomDialog.isShowing()) {\r
- mCustomDialog.dismiss();\r
- }\r
+\r
}else if (ACTION_TEMP_RESULT.equals(str)) {\r
double wrist_temp=paramIntent.getDoubleExtra(KEY_TEMP_WRIST,0.0f);\r
double body_temp=paramIntent.getDoubleExtra(KEY_TEMP_BODY,0.0f);\r
Deliver.sendLocationMSG(temperatureMsg);\r
\r
} else {\r
+ //如果来电了,还有未读的消息,干脆关掉,防止影响接电话。\r
if (mCustomDialog != null && mCustomDialog.isShowing()) {\r
mCustomDialog.dismiss();\r
}\r
ICLogger.i("BP15 , 定位周期="+time+"秒");\r
\r
Config.setLocationMode(runtime.getContextProxy().context, ICLocation.CUSTOM_MOD8_GPS);\r
- Config.setLocationCycle(runtime.getContextProxy().context,Integer.valueOf(time));\r
+ Config.setLocationCycle(runtime.getContextProxy().context,Integer.valueOf(time)*60);\r
runtime.getLocationInstance().setWorkingMod(Config.getLocationMode(runtime.getContextProxy().context));\r
runtime.getLocationInstance().setLocation_cycle(Config.getLocationCycle(runtime.getContextProxy().context));\r
//set AlarmCycle and trigger Location\r