From 4932cc36e99998d178ee4a87dd294d9e9a603f34 Mon Sep 17 00:00:00 2001 From: "jihye424.kim" Date: Fri, 15 Dec 2017 15:41:27 +0900 Subject: [PATCH] appcmd: modify runapp command -- check type of application is widget or not before to run application Change-Id: I0d791cf802ab937a0273df9335e6d91774887d92 Signed-off-by: jihye424.kim --- src/default_plugin_appcmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/default_plugin_appcmd.c b/src/default_plugin_appcmd.c index 5338854..c360f62 100644 --- a/src/default_plugin_appcmd.c +++ b/src/default_plugin_appcmd.c @@ -129,7 +129,7 @@ static int appcmd_runapp_gen_shellcmd(appcmd_info* p_info) { D("args: appid=%s\n", appid); snprintf(buf, len, "/usr/bin/pkginfo --app %s | grep component: | awk '{print $2}'" - " | while read var; do if [ $var = watchapp ]; then /usr/bin/app_launcher " + " | while read var; do if [ $var = watchapp ] || [ $var = widgetapp ]; then /usr/bin/app_launcher " "--start org.tizen.widget_viewer_sdk widget_id %s; else /usr/bin/app_launcher " "--start %s; fi; done", appid, appid, appid); -- 2.7.4