Use async version of aul_launch_app for avoiding deadlock 55/239155/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Fri, 17 Jul 2020 05:30:26 +0000 (14:30 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Wed, 22 Jul 2020 07:24:44 +0000 (16:24 +0900)
Change-Id: I484ced8492df92262ee34e19b687ae62d4cba76f

src/multi_assistant_service.c

index 9ed865e..3fc3b00 100644 (file)
@@ -1184,9 +1184,9 @@ int mas_bring_client_to_foreground(const char* appid)
                return -1;
        }
 
-       int result = aul_launch_app(appid, b);
+       int result = aul_launch_app_async(appid, b);
        if (result < AUL_R_OK) {
-               MAS_LOGE("ERROR : aul_launch_app failed. app_id [%s] bundle[%p] result[%d : %s]",
+               MAS_LOGE("ERROR : aul_launch_app_async failed. app_id [%s] bundle[%p] result[%d : %s]",
                        appid, b, result, get_error_message(result));
        }