Marino Faggiana 7 жил өмнө
parent
commit
a67c4fa01f

+ 1 - 1
iOSClient/AppDelegate.h

@@ -44,7 +44,7 @@
 @interface AppDelegate : UIResponder <UIApplicationDelegate, BKPasscodeLockScreenManagerDelegate, BKPasscodeViewControllerDelegate, LMMediaPlayerViewDelegate, TWMessageBarStyleSheet, CCNetworkingDelegate>
 
 // Timer Process
-@property (nonatomic, strong) NSTimer *timerProcess;
+@property (nonatomic, strong) NSTimer *timerProcessAutoUpload;
 @property (nonatomic, strong) NSTimer *timerUpdateApplicationIconBadgeNumber;
 @property (nonatomic, strong) NSTimer *timerVerifySessionInProgress;
 

+ 3 - 3
iOSClient/AppDelegate.m

@@ -252,7 +252,7 @@
     }
     
     // Start Timer
-    self.timerProcess = [NSTimer scheduledTimerWithTimeInterval:k_timerProcess target:self selector:@selector(process) userInfo:nil repeats:YES];
+    self.timerProcessAutoUpload = [NSTimer scheduledTimerWithTimeInterval:k_timerProcessAutoUpload target:self selector:@selector(processAutoUpload) userInfo:nil repeats:YES];
     self.timerVerifySessionInProgress = [NSTimer scheduledTimerWithTimeInterval:k_timerVerifySession target:self selector:@selector(verifyDownloadUploadInProgress) userInfo:nil repeats:YES];
     self.timerUpdateApplicationIconBadgeNumber = [NSTimer scheduledTimerWithTimeInterval:k_timerUpdateApplicationIconBadgeNumber target:self selector:@selector(updateApplicationIconBadgeNumber) userInfo:nil repeats:YES];
 
@@ -370,10 +370,10 @@
 }
 
 #pragma --------------------------------------------------------------------------------------------
-#pragma mark ===== Process k_timerProcess seconds =====
+#pragma mark ===== Process Auto Upload k_timerProcess seconds =====
 #pragma --------------------------------------------------------------------------------------------
 
-- (void)process
+- (void)processAutoUpload
 {
     // Test Maintenance
     if (self.maintenanceMode)

+ 1 - 1
iOSClient/CCGlobal.h

@@ -127,7 +127,7 @@ extern NSString *const urlBaseUploadDB;
 #define k_taskStatusSuspend                             -3
 
 #define k_timerVerifySession                            5
-#define k_timerProcess                                  4
+#define k_timerProcessAutoUpload                        4
 #define k_timerUpdateApplicationIconBadgeNumber         2
 
 #define k_maxConcurrentOperation                         10