Adjust the coding style 02/90902/1
authorMyungki Lee <mk5004.lee@samsung.com>
Wed, 5 Oct 2016 02:05:08 +0000 (11:05 +0900)
committerMyungki Lee <mk5004.lee@samsung.com>
Wed, 5 Oct 2016 02:05:08 +0000 (11:05 +0900)
Change-Id: I4c4ae4ef84fa91d9060188115e495808e228a6d4
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
src/notification_noti.c
src/notification_setting_service.c

index 047c6d4..aacb598 100755 (executable)
@@ -949,8 +949,6 @@ EXPORT_API int notification_noti_insert(notification_h noti)
        if (_check_text_input(noti) != NOTIFICATION_ERROR_NONE)
                return NOTIFICATION_ERROR_INVALID_PARAMETER;
 
-       //get_event_handler
-
        db = notification_db_open(DBPATH);
        if (!db)
                return get_last_result();
index f5d7382..cdd5415 100644 (file)
@@ -434,7 +434,11 @@ int notification_setting_db_update_system_setting(int do_not_disturb, int visibi
 
        sqlite3_exec(db, "BEGIN immediate;", NULL, NULL, NULL);
 
-       sqlret = sqlite3_prepare_v2(db, "INSERT OR REPLACE INTO notification_system_setting (uid, do_not_disturb, visibility_class, dnd_schedule_enabled, dnd_schedule_day, dnd_start_hour, dnd_start_min, dnd_end_hour, dnd_end_min, lock_screen_content_level) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ", -1, &db_statement, NULL);
+       sqlret = sqlite3_prepare_v2(db, "INSERT OR REPLACE INTO notification_system_setting "
+                       "(uid, do_not_disturb, visibility_class, dnd_schedule_enabled, "
+                       "dnd_schedule_day, dnd_start_hour, dnd_start_min, "
+                       "dnd_end_hour, dnd_end_min, lock_screen_content_level) "
+                       "VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ", -1, &db_statement, NULL);
 
        if (sqlret != SQLITE_OK) {
                NOTIFICATION_ERR("sqlite3_prepare_v2 failed [%d][%s]", sqlret, sqlite3_errmsg(db));