From dcf5379d9b6651c7fc3dafb43699b4c7286c5437 Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Tue, 6 Sep 2022 00:06:09 +0000 Subject: [PATCH] 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 --- src/app_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.7.4