equal
deleted
inserted
replaced
436 { |
436 { |
437 TTime lastAlarm = (*iAlarmList)[KAlarmCount-1].iAlarmTime.LocalL(); |
437 TTime lastAlarm = (*iAlarmList)[KAlarmCount-1].iAlarmTime.LocalL(); |
438 |
438 |
439 if ( now < lastAlarm ) |
439 if ( now < lastAlarm ) |
440 { |
440 { |
|
441 // We need to consider 2 sec window to make sure that same alarm |
|
442 // is not queued again. |
441 now += TTimeIntervalSeconds(2); |
443 now += TTimeIntervalSeconds(2); |
442 } |
444 } |
443 } |
445 } |
444 |
446 |
445 iAlarmList->Reset(); |
447 iAlarmList->Reset(); |
466 { |
468 { |
467 TTime lastAlarm = (*iAlarmList)[KAlarmCount-1].iAlarmTime.LocalL(); |
469 TTime lastAlarm = (*iAlarmList)[KAlarmCount-1].iAlarmTime.LocalL(); |
468 |
470 |
469 if ( now < lastAlarm ) |
471 if ( now < lastAlarm ) |
470 { |
472 { |
|
473 // We need to consider 2 sec window to make sure that same alarm |
|
474 // is not queued again. |
|
475 |
471 now += TTimeIntervalSeconds(2); |
476 now += TTimeIntervalSeconds(2); |
472 } |
477 } |
473 } |
478 } |
474 |
479 |
475 iAlarmList->Reset(); |
480 iAlarmList->Reset(); |