Show log when no initialize 49/193649/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 23 Nov 2018 00:18:32 +0000 (09:18 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 23 Nov 2018 00:18:32 +0000 (09:18 +0900)
Change-Id: Idf3d91334348265167ef514a5f88acdb2588ddc8
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
client/autofill.c
server/main.c

index ced70a5..73ae9f4 100644 (file)
@@ -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;
     }
 
index 04dc44a..3dd468e 100644 (file)
@@ -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*/