From: Jihoon Kim Date: Fri, 14 Dec 2018 08:02:45 +0000 (+0900) Subject: Fix TC fail issue in case of no service app X-Git-Tag: submit/tizen/20181214.081003^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4b9fee3d36a7ff55319af7defb15d6ec7c9cb4a5;p=platform%2Fcore%2Fuifw%2Fautofill-daemon.git Fix TC fail issue in case of no service app Change-Id: I2da23c57163aba8a8b72cd58d341dac4d5678968 Signed-off-by: Jihoon Kim --- diff --git a/src/autofill-daemon.c b/src/autofill-daemon.c index 0f267ab..1ca0dd1 100644 --- a/src/autofill-daemon.c +++ b/src/autofill-daemon.c @@ -321,7 +321,7 @@ static int __auth_info_request_cb(rpc_port_stub_AutofillAppPort_context_h contex if (!svc_rpc_h) { LOGW("Not initialized"); - return -1; + return 0; } rpc_port_stub_AutofillAppPort_context_get_sender(context, &sender); @@ -362,7 +362,7 @@ static int __autofill_fill_request_cb(rpc_port_stub_AutofillAppPort_context_h co if (!svc_rpc_h) { LOGW("Not initialized"); - return -1; + return 0; } rpc_port_stub_AutofillAppPort_context_get_sender(context, &sender); @@ -397,7 +397,7 @@ static int __commit_cb(rpc_port_stub_AutofillAppPort_context_h context, int cont if (!svc_rpc_h) { LOGW("Not initialized"); - return -1; + return 0; } rpc_port_stub_AutofillAppPort_context_get_sender(context, &sender);