-[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":1001,"versionName":"2110281156","enabled":true,"outputFile":"ICSer_V1001_2110281156_release.apk","fullName":"release","baseName":"release"},"path":"ICSer_V1001_2110281156_release.apk","properties":{}}]
\ No newline at end of file
+[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":1002,"versionName":"2110281527","enabled":true,"outputFile":"ICSer_V1002_2110281527_release.apk","fullName":"release","baseName":"release"},"path":"ICSer_V1002_2110281527_release.apk","properties":{}}]
\ No newline at end of file
stringBuilder.append(" paramInt2=");
stringBuilder.append(paramInt2);
ICLogger.i(stringBuilder.toString());
-// if (ACTION_ALARM.equals(paramIntent.getAction())) {
if (HEARTBEAT_ALARM.equals(paramIntent.getAction())) {
//发送心跳间隔广播给其他应用
this.runtime.getContextProxy().sendBroadcast(ACTION_EQC_ALARM, this.runtime);
this.connectionServiceChain.processAlarmClock(this.connection, this.runtime);
this.invokeHandlerServiceChain.processAlarmClock(this.connection, this.runtime);
-// if (SystemClock.elapsedRealtime() - this.mWeatherTime > 60000L && this.mHaveSetWeatherAlarm) {
-// setWeatherAlarm();
-// this.mHaveSetWeatherAlarm = false;
-// return Service.START_NOT_STICKY;
-// }
locationClient.updateStepCount();
updateSleepDate(); //检查睡眠
locationClient.triggerBLEProcess();//每次心跳检测一次BLE
Deliver.triggerSendThread();
} else {
- // if (this.mKeepAlive.is_retry_time_above_limit()) {
ICLogger.i("check 发送心跳包时,如果发现服务器没有响应,或者socket连接,则重新尝试连接服务器!");
connection.disconnectServer();
this.startConnectionRetryTimer();
- // }else{
- // ICLogger.i("");
- // }
}
}
//检测电池电量 并上报低电报警
import android.os.Environment;
import android.os.Handler;
import android.os.HandlerThread;
+import android.os.SystemProperties;
import android.telephony.CellInfo;
import android.telephony.CellInfoCdma;
import android.telephony.CellInfoGsm;
contentValues3.put(ICDatabaseHelper.fPhoneNum, phNum3);
resolver.insert(Uri.parse(ICMembersProvider.MEMBERS), contentValues3);
ICLogger.d("inset sos data okay...");
+
+ try {
+ String duration = cmdList[6];
+ ICLogger.d("duration ==> " + duration);
+ //设置到prop里
+ SystemProperties.set("persist.sys.sos.time", duration);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
} else {
ICLogger.i(" BP12 format error!");
}
-#Thu Oct 28 11:56:21 CST 2021\r
-VERSION_CODE=1001\r
+#Thu Oct 28 15:27:36 CST 2021\r
+VERSION_CODE=1002\r