diff options
author | Myungki Lee <mk5004.lee@samsung.com> | 2016-10-05 11:05:08 +0900 |
---|---|---|
committer | Myungki Lee <mk5004.lee@samsung.com> | 2016-10-05 11:05:08 +0900 |
commit | 27b536f87047188c4724140f7cd41e63f31248ad (patch) | |
tree | 165b5aee03031fd466c863aaa19f08ba94bb7dd6 | |
parent | 76fc92a8b28d7e2c140fd091377e523b20ffd91e (diff) | |
download | notification-27b536f87047188c4724140f7cd41e63f31248ad.tar.gz notification-27b536f87047188c4724140f7cd41e63f31248ad.tar.bz2 notification-27b536f87047188c4724140f7cd41e63f31248ad.zip |
Adjust the coding style
Change-Id: I4c4ae4ef84fa91d9060188115e495808e228a6d4
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
-rwxr-xr-x | src/notification_noti.c | 2 | ||||
-rw-r--r-- | src/notification_setting_service.c | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/notification_noti.c b/src/notification_noti.c index 047c6d4..aacb598 100755 --- a/src/notification_noti.c +++ b/src/notification_noti.c @@ -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(); diff --git a/src/notification_setting_service.c b/src/notification_setting_service.c index f5d7382..cdd5415 100644 --- a/src/notification_setting_service.c +++ b/src/notification_setting_service.c @@ -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)); |