version:4.3
fix:安装应用时不清除桌面缓存,锁定状态改变时不恢复出厂设置 update:在获取sn没有刷写的状态时,获取IMEI作为别名
This commit is contained in:
@@ -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文件
|
||||
|
||||
Reference in New Issue
Block a user