projects
/
platform
/
core
/
appfw
/
alarm-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b104ce8
)
fix miscalculated duetime
42/93542/3
author
Jiwoong Im
<jiwoong.im@samsung.com>
Tue, 25 Oct 2016 01:37:17 +0000
(10:37 +0900)
committer
Sangyoon Jang
<s89.jang@samsung.com>
Tue, 25 Oct 2016 05:29:09 +0000
(22:29 -0700)
Change-Id: Ibddb808f132c93bb88f4b5c4b05d52ba134eff93
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
alarm-manager-schedule.c
patch
|
blob
|
history
diff --git
a/alarm-manager-schedule.c
b/alarm-manager-schedule.c
index
696655a
..
da14495
100644
(file)
--- a/
alarm-manager-schedule.c
+++ b/
alarm-manager-schedule.c
@@
-238,9
+238,6
@@
static time_t __alarm_next_duetime_repeat(__alarm_info_t *__alarm_info)
while (__alarm_info->start > due_time || current_time > due_time || ((!is_time_changed) && (current_time == due_time)))
due_time += alarm_info->mode.u_interval.interval;
- if (due_time - current_time < 10)
- due_time += alarm_info->mode.u_interval.interval;
-
localtime_r(&due_time, &duetime_tm);
start->year = duetime_tm.tm_year + 1900;