|
@@ -463,8 +463,9 @@
|
|
|
BOOL isBackupsingType = [[backupsFileManager shareInstance] checkBackupsingFun];
|
|
|
BOOL isUploadingType = [[uploadFileManager shareInstance] checkUploadingFun];
|
|
|
BOOL isDownloadingType = [[downloadManager shareInstance] checkDownloadingFun];
|
|
|
+ BOOL isBackground = [HWDataManager getBoolWithKey:stringKeyAddSn(Const_file_Transfe_working_background)];
|
|
|
|
|
|
- if (isBackupsingType || isUploadingType || isDownloadingType) {
|
|
|
+ if ((isBackupsingType || isUploadingType || isDownloadingType) && isBackground) {
|
|
|
HLog(@"后台保活中");
|
|
|
[cachesFileManager writeLogsWithMsg:@"Background working"];
|
|
|
}
|