-- check type of application is widget or not before to run application
Change-Id: I0d791cf802ab937a0273df9335e6d91774887d92
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
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);