diff options
author | Semun Lee <sm79.lee@samsung.com> | 2016-06-28 10:42:55 +0900 |
---|---|---|
committer | Semun Lee <sm79.lee@samsung.com> | 2016-06-28 10:50:15 +0900 |
commit | a082546ebc3cbb7836bf8c8b47a8e864270b1f1d (patch) | |
tree | 354583a2ec2b7b2f230540fffd954fe336d8ea77 | |
parent | cf166a2c194a6fe727391d19b533e7c3e2052bce (diff) | |
download | widget-service-a082546ebc3cbb7836bf8c8b47a8e864270b1f1d.tar.gz widget-service-a082546ebc3cbb7836bf8c8b47a8e864270b1f1d.tar.bz2 widget-service-a082546ebc3cbb7836bf8c8b47a8e864270b1f1d.zip |
Launch widget app with async apisubmit/tizen/20160628.070541accepted/tizen/wearable/20160629.020648accepted/tizen/tv/20160629.020600accepted/tizen/mobile/20160629.020704accepted/tizen/ivi/20160629.020623accepted/tizen/common/20160629.222509
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.c | 2 |
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); |