From d0bf4a132f3562434c539e5281ffea6bcef9216e Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Thu, 14 Oct 2021 19:24:42 +0900 Subject: [PATCH] Print the subapp flag for debugging Change-Id: I1a3d8318d65a47abf860ef004b8317a62c3a9ed7 Signed-off-by: Hwankyu Jhun --- src/app_context.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app_context.c b/src/app_context.c index c93bd66..9776b10 100644 --- a/src/app_context.c +++ b/src/app_context.c @@ -344,10 +344,13 @@ static bool __load_all_app_context_cb_locked(app_context_h app_context, { char *app_id = NULL; int pid; + bool sub_app; app_context_get_app_id(app_context, &app_id); app_context_get_pid(app_context, &pid); - SECURE_LOGI("app_id(%s), pid(%d)", app_id, pid); + app_context_is_sub_app(app_context, &sub_app); + SECURE_LOGI("app_id(%s), pid(%d), sub_app(%s)", + app_id, pid, sub_app ? "true" : "false"); free(app_id); g_hash_table_insert(event_cb_context->pid_table, GINT_TO_POINTER(pid), -- 2.7.4