summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSemun Lee <sm79.lee@samsung.com>2016-06-28 10:42:55 +0900
committerSemun Lee <sm79.lee@samsung.com>2016-06-28 10:50:15 +0900
commita082546ebc3cbb7836bf8c8b47a8e864270b1f1d (patch)
tree354583a2ec2b7b2f230540fffd954fe336d8ea77
parentcf166a2c194a6fe727391d19b533e7c3e2052bce (diff)
downloadwidget-service-a082546ebc3cbb7836bf8c8b47a8e864270b1f1d.tar.gz
widget-service-a082546ebc3cbb7836bf8c8b47a8e864270b1f1d.tar.bz2
widget-service-a082546ebc3cbb7836bf8c8b47a8e864270b1f1d.zip
When the widget-viewer launches widget app with sync api, the widget app would be blocked in its elm_win_add function because the widget-viewer is waiting for aul_launch_app api and cannot process request of elm_win_add. Note that this api is a temporary solution. We need to investigate if there is a better solution. Change-Id: I264b5bd3195ad9a204be406705d03eddaa3ed1cc Signed-off-by: Semun Lee <sm79.lee@samsung.com>
-rw-r--r--src/widget_instance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget_instance.c b/src/widget_instance.c
index f6110e2..d801641 100644
--- a/src/widget_instance.c
+++ b/src/widget_instance.c
@@ -313,7 +313,7 @@ static int __send_aul_cmd(const char *widget_id, const char *instance_id, bundle
aul_svc_set_loader_id(b, 1);
aul_svc_set_operation(b, AUL_SVC_OPERATION_LAUNCH_WIDGET);
- ret = aul_launch_app(appid, b);
+ ret = aul_launch_app_async(appid, b);
if (!extra) {
bundle_free(b);