Fix notification dnd alarm setting 55/110155/3 accepted/tizen/3.0/common/20170117.075738 accepted/tizen/3.0/ivi/20170117.005703 accepted/tizen/3.0/mobile/20170117.005612 accepted/tizen/3.0/tv/20170117.005626 accepted/tizen/3.0/wearable/20170117.005645 submit/tizen_3.0/20170116.091328
authorseungha.son <seungha.son@samsung.com>
Fri, 13 Jan 2017 05:48:28 +0000 (14:48 +0900)
committerseungha.son <seungha.son@samsung.com>
Fri, 13 Jan 2017 10:44:04 +0000 (19:44 +0900)
commitad352de6cf842eb66ae83bf0b794b0fafde81ed6
tree87085d29d61a0598aa3b86e61a2739e3fb450fad
parentdd984b336170667051cc45a886861772edb522b2
Fix notification dnd alarm setting

 - If end time is earlier than start time
   notification_register_system_setting_dnd_changed_cb() function should
   call callback, and dnd must be disabled automatically.
 - This patch include that if end time is earlier than start,
   day of end day set next-day.

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I75724a46376847d28c4c0571406d582dac3d13a2
src/notification_service.c