-[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":837,"versionName":"2106222350","enabled":true,"outputFile":"ICSer_V837_2106222350_release.apk","fullName":"release","baseName":"release"},"path":"ICSer_V837_2106222350_release.apk","properties":{}}]
\ No newline at end of file
+[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":838,"versionName":"2106231710","enabled":true,"outputFile":"ICSer_V838_2106231710_release.apk","fullName":"release","baseName":"release"},"path":"ICSer_V838_2106231710_release.apk","properties":{}}]
\ No newline at end of file
public void saveAlarm(ArrayList<Alarm> paramArrayList) {
this.cr.delete(ICContentProvider.ALARM_URI, null, null);
int i = paramArrayList.size();
+ ICLogger.d("alarm size == > " + i);
if (i != 0) {
ContentValues[] arrayOfContentValues = new ContentValues[i];
for (byte b = 0; b < i; b++) {
* 终端回复:[IC*334588000000156*0003*PHL]
*/
public void handlePHL(Connection connection, Runtime runtime, String cmd, String data) {
- String list[] = data.split(CMD_SPLIT);
+ String[] list = data.split(CMD_SPLIT);
int listLen = list.length;
- boolean isPared = ((listLen >= 0) && (listLen % 2 == 0));
+ boolean isPared = listLen % 2 == 0;
if (isPared) {
ArrayList<Contact> contactArray = new ArrayList<>();
ContentValues contentValues = new ContentValues();
ContentResolver resolver = runtime.getContextProxy().getResolver();
- resolver.delete(Uri.parse(FZDMembersProvider.MEMBERS), null, null);
+ resolver.delete(Uri.parse(FZDMembersProvider.MEMBERS), "type=?", new String[]{
+ FZDDatabaseHelper.MemberType.WHITE_LIST + ""
+ });
for (int i = 0; i < listLen; i += 2) {
String phoneNum = list[i];
String name = Util.decodeUnicode2Utf8(list[i + 1]);
BP47,//设置震动
BPCM,//照相禁用开关
BPMK,//关闭麦克风
+ APGJ,//关机前的确定
+ APFX,//飞行模式开关
UNKNOWN_CMD,
}
cmdMap.put(CMD_TYPE.BPCH, "BPCH");
cmdMap.put(CMD_TYPE.APBR, "APBR");
cmdMap.put(CMD_TYPE.BPBR, "BPBR");
+ cmdMap.put(CMD_TYPE.APGJ, "APGJ");
/* 服务器发起*/
cmdMap.put(CMD_TYPE.AP12, "AP12");
cmdMap.put(CMD_TYPE.BP12, "BP12");
cmdMap.put(CMD_TYPE.BP47, "BP47");
cmdMap.put(CMD_TYPE.BPCM, "BPCM");
cmdMap.put(CMD_TYPE.BPMK, "BPMK");
+ cmdMap.put(CMD_TYPE.APFX, "APFX");
}
}
+
/**
* 处理麦克风的指令
*
-#Tue Jun 22 23:50:33 CST 2021
+#Thu Jun 24 10:47:50 CST 2021
>>>>>>>=b405d1184f3616d4e894d199cee0eb91613a68db
-VERSION_CODE=837
+VERSION_CODE=839
=\=\=\=\=\=\=
<<<<<<<=HEAD