|
|
@@ -427,7 +427,8 @@ static webSocketManager *webSocketManagerInstance = nil;
|
|
|
|
|
|
[self checkCommandSendTaskFun];
|
|
|
|
|
|
- if([AudioSessionObject shareManager].isBackgroundType){
|
|
|
+ //if([AudioSessionObject shareManager].isBackgroundType)
|
|
|
+ {
|
|
|
[self checkFileTransfeTaskFun];
|
|
|
}
|
|
|
|
|
|
@@ -455,7 +456,7 @@ static webSocketManager *webSocketManagerInstance = nil;
|
|
|
else{
|
|
|
HLog(@"停止后台保活");
|
|
|
[cachesFileManager writeLogsWithMsg:@"stop Background working"];
|
|
|
- [[AudioSessionObject shareManager] stopBackgroundActiveFun];
|
|
|
+ //[[AudioSessionObject shareManager] stopBackgroundActiveFun];
|
|
|
}
|
|
|
|
|
|
}
|