Changes made to resolve build issue due to strict checking of dlog api 58/194858/3 accepted/tizen/unified/20181211.064627 submit/tizen/20181210.174557
authorTezaswy Singh <tezaswy.s@samsung.com>
Fri, 7 Dec 2018 19:26:41 +0000 (00:56 +0530)
committerTezaswy Singh <tezaswy.s@samsung.com>
Mon, 10 Dec 2018 14:39:35 +0000 (20:09 +0530)
Patch to strengthen checking for the parameters of dlog function has been added. Commit Id: 6c9eb475de4613d9039819c182c5e1b8e3980f28 due to which there was an error in dlog_print.

Change-Id: Iaaa19f0f717b5345765a3d99e5df4888394fee6b

src/mobile/starter.c
src/wearable/clock_mgr.c [changed mode: 0644->0755]
src/wearable/hw_key.c [changed mode: 0644->0755]

index 5319647..2618211 100755 (executable)
@@ -362,7 +362,7 @@ int starter_execute_ode_process(int booting_state)
 
                        vconf_set_int(VCONFKEY_STARTER_SEQUENCE, 1);
                } else {
-                       _D("ODE state is: %d, Do nothing");
+                       _D("ODE state is: %d, Do nothing", ode_state);
                }
        }
 
old mode 100644 (file)
new mode 100755 (executable)
index 7bd9725..d8df3e8
@@ -110,7 +110,7 @@ static void _ambient_mode_init(void)
 {
        aul_listen_app_dead_signal(_w_clock_viewer_dead_cb, NULL);
        if (vconf_notify_key_changed(VCONFKEY_SETAPPL_AMBIENT_MODE_BOOL, _ambient_mode_setting_changed_cb, NULL) < 0) {
-               _E("Failed to add VCONFKEY_SETAPPL_AMBIENT_MODE_BOOL changed callback", VCONFKEY_SETAPPL_AMBIENT_MODE_BOOL);
+               _E("Failed to add VCONFKEY_SETAPPL_AMBIENT_MODE_BOOL changed callback");
        }
        _check_ambient_state_and_launch();
 }
@@ -120,7 +120,7 @@ static void _ambient_mode_init(void)
 static void _ambient_mode_fini(void)
 {
        if (vconf_ignore_key_changed(VCONFKEY_SETAPPL_AMBIENT_MODE_BOOL, _ambient_mode_setting_changed_cb) < 0) {
-               _E("Failed to ignore VCONFKEY_SETAPPL_AMBIENT_MODE_BOOL changed callback", VCONFKEY_SETAPPL_AMBIENT_MODE_BOOL);
+               _E("Failed to ignore VCONFKEY_SETAPPL_AMBIENT_MODE_BOOL changed callback");
        }
 }
 
old mode 100644 (file)
new mode 100755 (executable)
index 1abb336..55580fa
@@ -309,13 +309,13 @@ static Eina_Bool _powerkey_timer_cb(void *data)
        }
 
        if (VCONFKEY_CALL_VOICE_ACTIVE == status_passive_get()->call_state) {
-               _W("call state is [%d] -> just turn off LCD");
+               _W("call state is ->[%d] just turn off LCD", VCONFKEY_CALL_VOICE_ACTIVE);
                display_change_state(LCD_OFF);
                return ECORE_CALLBACK_CANCEL;
        }
 
        if (VCONFKEY_IDLE_LOCK == status_passive_get()->idle_lock_state) {
-               _W("lock state is [%d] -> just turn off LCD");
+               _W("lock state is ->[%d] just turn off LCD", VCONFKEY_IDLE_LOCK);
                display_change_state(LCD_OFF);
                return ECORE_CALLBACK_CANCEL;
        }