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:
c4aee94
)
Fix issue that standard time for periodic
29/174429/3
author
Inkyun Kil
<inkyun.kil@samsung.com>
Mon, 2 Apr 2018 06:34:27 +0000
(15:34 +0900)
committer
Inkyun Kil
<inkyun.kil@samsung.com>
Mon, 2 Apr 2018 09:39:36 +0000
(18:39 +0900)
The periodic_alarm_standard_time value is not synchronized when time is changed
Change-Id: I4cf2602833d23595903d37844e88b04e83a6c44a
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
alarm-manager.c
patch
|
blob
|
history
diff --git
a/alarm-manager.c
b/alarm-manager.c
index
349c7c4
..
a731664
100644
(file)
--- a/
alarm-manager.c
+++ b/
alarm-manager.c
@@
-781,6
+781,9
@@
static bool __alarm_update_due_time_of_all_items_in_list(double diff_time)
struct tm due_time_result ;
is_time_changed = true;
+ if (periodic_alarm_standard_time != 0)
+ periodic_alarm_standard_time += diff_time;
+
tzset();
for (iter = alarm_context.alarms; iter != NULL; iter = g_slist_next(iter)) {
entry = iter->data;