Changes applied at
[manifest-parser][app-installer][pkgmgr-info]
Change-Id: I89d2554681a459e2e5d9d40cd5fd00f1cac3785d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
// Current implementation is just for compatibility.
icon->text = strdup(text.c_str());
icon->name = strdup(application_icon.path().c_str());
- icon->lang = strdup(DEFAULT_LOCALE);
+ if (application_icon.lang().empty())
+ icon->lang = strdup(DEFAULT_LOCALE);
+ else
+ icon->lang = strdup(application_icon.lang().c_str());
+
+ if (!application_icon.dpi().empty())
+ icon->dpi = strdup(application_icon.dpi().c_str());
app->icon = g_list_append(app->icon, icon);
}
return true;