if (apptype)
printf("Apptype: %s\n", apptype);
- if (component == PMINFO_UI_APP) {
- printf("component: uiapp\n");
+ if (component == PMINFO_UI_APP || component == PMINFO_WIDGET_APP) {
+ printf("component: %s\n", component == PMINFO_UI_APP ? "uiapp" :
+ "widgetapp");
ret = pkgmgrinfo_appinfo_is_multiple(handle, &multiple);
if (ret < 0) {
printf("Failed to get multiple\n");
if (apptype)
printf("Apptype: %s\n", apptype);
- if (component == PMINFO_UI_APP) {
- printf("component: uiapp\n");
+ if (component == PMINFO_UI_APP || component == PMINFO_WIDGET_APP) {
+ printf("component: %s\n", component == PMINFO_UI_APP ? "uiapp" :
+ "widgetapp");
if (icon)
printf("Icon: %s\n", icon);