-[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":857,"versionName":"2106261303","enabled":true,"outputFile":"ICSer_V857_2106261303_release.apk","fullName":"release","baseName":"release"},"path":"ICSer_V857_2106261303_release.apk","properties":{}}]
\ No newline at end of file
+[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":859,"versionName":"2106261553","enabled":true,"outputFile":"ICSer_V859_2106261553_release.apk","fullName":"release","baseName":"release"},"path":"ICSer_V859_2106261553_release.apk","properties":{}}]
\ No newline at end of file
stringBuilder2.append("broadcastReceiver action==");
stringBuilder2.append(param1Intent.getAction());
ICLogger.i(stringBuilder2.toString());
+ boolean needHRSTestOnSOS = Util.getSystemProperties("persist.sys.needHRSOnSOS", "false").equals("true");
if (ACTION_SEND_EMEGENCY_LOCATION_START.equals(param1Intent.getAction())) {
runtime.getLocationInstance().setWorkingMod(EMERGNECY_MOD);
//runtime.setPpgTestCycle(1);
setLocationAlarm(runtime.getLocationInstance().getWorkingMod());
- //触发一次心率检测
- ICLogger.d("ACTION_SEND_EMEGENCY_LOCATION_START == > setHeartRateDetectAlarm ");
- setHeartRateDetectAlarm(1);
+ if (needHRSTestOnSOS) {
+ //触发一次心率检测
+ ICLogger.d("ACTION_SEND_EMEGENCY_LOCATION_START == > setHeartRateDetectAlarm ");
+ setHeartRateDetectAlarm(1);
+ }
setEmegencyLocationSTOPAlarm(5);
} else if (ACTION_LOCAL_SOS_ACTION.endsWith(param1Intent.getAction())) {
VibrateUtil.getInstance(runtime.getContextProxy().context).vibrateOn(true);
// if( param1Intent.getIntExtra("type", 1) == 1) {
- boolean needHRSTestOnSOS = Util.getSystemProperties("persist.sys.needHRSOnSOS", "false").equals("true");
if (needHRSTestOnSOS) {
//触发一次心率检测
ICLogger.d("needHRSTestOnSOS =}}= > setHeartRateDetectAlarm ");
import android.widget.TextView;
import com.enqualcomm.support.adapter.BTHelper;
+import com.enqualcomm.support.utils.AESCipher;
import com.enqualcomm.support.utils.DeviceInfoUtil;
import com.enqualcomm.support.utils.IBeaconUtil;
import com.enqualcomm.support.utils.ICLogger;
Handler handler=new Handler(new Handler.Callback() {
@Override
public boolean handleMessage(Message message) {
-
-
StringBuilder sb=new StringBuilder();
try {
TextView tv_version=(TextView)findViewById(R.id.textViewVersion);
tv_version.setText(DeviceInfoUtil.getVersionCode(this)+"-"+DeviceInfoUtil.getVersionName(this));
// testpic();
+ AESCipher.test2();
+
}
@Override
public void OnScanFinished(ArrayList<IBeaconUtil.iBeacon> btBeaconScanResult, ArrayList<String> btNewScanResult) {
-
// ICLogger.i("BT Pared "+btPairedScanResult.size());
// for ( String i :btPairedScanResult){
// ICLogger.i(i);
CoreService.getInstance().setLocationAlarm(paramRuntime.getLocationInstance().getWorkingMod());
}
} else if (paramStringMessage.cmd().equals("login")) {
+
//广播服务器连接成功的消息
paramRuntime.getContextProxy().sendBroadcastServerConnectionChanged(true);
+ //login成功后,上传当前版本号
+ paramConnection.send(protocolAPIHelper.getDeviceVersion(paramRuntime));
//登录包收到就停止重链接服务器
CoreService.getInstance().stopConnectionRetryTimer();
is_login_send_success = true;
-#Sat Jun 26 13:03:54 CST 2021\r
+#Sat Jun 26 15:53:09 CST 2021\r
>>>>>>>=b405d1184f3616d4e894d199cee0eb91613a68db\r
-VERSION_CODE=857\r
+VERSION_CODE=859\r
=\=\=\=\=\=\=\r
<<<<<<<=HEAD\r
# Location of the SDK. This is only used by Gradle.\r
# For customization when using a Version Control System, please read the\r
# header note.\r
-#Sat Jun 19 18:18:09 CST 2021\r
-sdk.dir=E\:\\Android\\Sdk\r
+#Sat Jun 26 13:03:49 CST 2021\r
+sdk.dir=C\:\\Users\\incar\\AppData\\Local\\Android\\Sdk\r