File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ - (BOOL)updateActivityState {
264264 double lastInterval = now - self.activityState .lastActivity ;
265265 if (lastInterval < 0 ) {
266266 [AILogger error: @" Time travel!" ];
267- self.activityState .lastInterval = now;
267+ self.activityState .lastActivity = now;
268268 return YES ;
269269 }
270270
Original file line number Diff line number Diff line change 2323@property (nonatomic , assign ) double createdAt;
2424@property (nonatomic , assign ) double lastInterval;
2525
26- - (void )resetSessionAttributes : (long )now ;
26+ - (void )resetSessionAttributes : (double )now ;
2727
2828- (void )injectSessionAttributes : (AIPackageBuilder *)packageBilder ;
2929- (void )injectEventAttributes : (AIPackageBuilder *)packageBilder ;
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ - (id)init {
2929 return self;
3030}
3131
32- - (void )resetSessionAttributes : (long )now {
32+ - (void )resetSessionAttributes : (double )now {
3333 self.subsessionCount = 1 ;
3434 self.sessionLength = 0 ;
3535 self.timeSpent = 0 ;
You can’t perform that action at this time.
0 commit comments