From 4ef26bfc1f3e0f60a1a3277d7c17dbc981fef64e Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Thu, 24 Nov 2016 17:57:34 +0900 Subject: [PATCH] Fix syspopup_launch_for_uid - Allow "opening" state Change-Id: Icb087026112943008a5fb2493560ab00f57c7310 Signed-off-by: Hwankyu Jhun --- syspopup-caller/syspopup_caller.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/syspopup-caller/syspopup_caller.c b/syspopup-caller/syspopup_caller.c index e4e8ba7..2d513a3 100755 --- a/syspopup-caller/syspopup_caller.c +++ b/syspopup-caller/syspopup_caller.c @@ -103,7 +103,8 @@ API int syspopup_launch_for_uid(char *popup_name, bundle *b, uid_t uid) if (sd_uid_get_state(uids[i], &state) < 0) continue; - if (state && !strcmp(state, "online")) { + if (state && (!strcmp(state, "online") || + !strcmp(state, "opening"))) { ret = aul_launch_app_for_uid( info->pkgname, b, uids[i]); -- 2.7.4