version:4.3

fix:安装应用时不清除桌面缓存,锁定状态改变时不恢复出厂设置
update:在获取sn没有刷写的状态时,获取IMEI作为别名
This commit is contained in:
2022-04-19 09:24:45 +08:00
parent 2339e1484d
commit 69a8934bd4
24 changed files with 514 additions and 263 deletions

View File

@@ -219,9 +219,9 @@ public class LogcatService extends Service {
}
if (clear_file) {
logFileName = Utils.getSerial() + ".log";
logFileName = Utils.getSerial(this) + ".log";
} else {
logFileName = Utils.getSerial() + "-" + getTime() + ".log";
logFileName = Utils.getSerial(this) + "-" + getTime() + ".log";
}
try {
@@ -262,7 +262,7 @@ public class LogcatService extends Service {
return;
}
Map<String, String> params = new HashMap<>();
params.put("sn", Utils.getSerial());
params.put("sn", Utils.getSerial(this));
MediaType mediaType = MediaType.Companion.parse("text/html");
RequestBody fileBody = RequestBody.Companion.create(file, mediaType);
//设置一个file文件