From fbe4951ca0ab80dbdf6d08058153e00c2e5aaee9 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Fri, 23 Nov 2018 09:18:32 +0900 Subject: [PATCH] Show log when no initialize Change-Id: Idf3d91334348265167ef514a5f88acdb2588ddc8 Signed-off-by: Jihoon Kim --- client/autofill.c | 3 ++- server/main.c | 9 ++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/client/autofill.c b/client/autofill.c index ced70a5..73ae9f4 100644 --- a/client/autofill.c +++ b/client/autofill.c @@ -253,6 +253,7 @@ EXPORT_API int autofill_connect(autofill_connection_status_changed_cb callback, } if (!rpc_h) { + LOGW("Not initialized\n"); return AUTOFILL_ERROR_NOT_INITIALIZED; } @@ -311,7 +312,7 @@ EXPORT_API int autofill_commit(autofill_save_view_info_h vi) } if (!rpc_h) { - LOGW("not connected"); + LOGW("Not initialized\n"); return AUTOFILL_ERROR_NOT_INITIALIZED; } diff --git a/server/main.c b/server/main.c index 04dc44a..3dd468e 100644 --- a/server/main.c +++ b/server/main.c @@ -590,7 +590,6 @@ static int connect_service() ret = rpc_port_proxy_AutofillSvcPort_connect(rpc_h); return ret; - } bool service_app_create(void *data) @@ -641,26 +640,26 @@ void service_app_control(app_control_h app_control, void *data) return; } - static void +static void service_app_lang_changed(app_event_info_h event_info, void *user_data) { /*APP_EVENT_LANGUAGE_CHANGED*/ return; } - static void +static void service_app_region_changed(app_event_info_h event_info, void *user_data) { /*APP_EVENT_REGION_FORMAT_CHANGED*/ } - static void +static void service_app_low_battery(app_event_info_h event_info, void *user_data) { /*APP_EVENT_LOW_BATTERY*/ } - static void +static void service_app_low_memory(app_event_info_h event_info, void *user_data) { /*APP_EVENT_LOW_MEMORY*/ -- 2.7.4