From: Hwankyu Jhun Date: Tue, 6 Sep 2022 00:06:09 +0000 (+0000) Subject: Change return value of app_manager_set_app_context_event_cb function X-Git-Tag: accepted/tizen/unified/20220919.090120~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F43%2F280843%2F1;p=platform%2Fcore%2Fapi%2Fapp-manager.git Change return value of app_manager_set_app_context_event_cb function If calling the aul_app_event_create_async() is failed, the app_manager_set_app_context_event_cb() returns APP_MANAGER_ERROR_IO_ERROR. Change-Id: I950f124c15e98efd11fb65bbe5d89f3abc6a8910 Signed-off-by: Hwankyu Jhun --- diff --git a/src/app_context.c b/src/app_context.c index 9776b10..9c756b7 100644 --- a/src/app_context.c +++ b/src/app_context.c @@ -444,7 +444,7 @@ static int __event_cb_context_init(void) if (ret != AUL_R_OK) { _E("aul_app_context_create() is failed. error(%d)", ret); __event_cb_context_fini(); - return APP_MANAGER_ERROR_OUT_OF_MEMORY; + return APP_MANAGER_ERROR_IO_ERROR; } return APP_MANAGER_ERROR_NONE;