+ pPackageAppInfoImpl->SetAppId(pPkgInfo->pkg_name);
+ pPackageAppInfoImpl->SetAppName(pPkgInfo->label);
+ pPackageAppInfoImpl->SetAppDisplayName(pPkgInfo->label);
+ pPackageAppInfoImpl->SetMainApp(true);
+ if ((pPkgInfo->icon_buf) && (pPkgInfo->icon_size > 0))
+ {
+ String iconPath("/tmp/icon.png");
+ File file;
+ r = file.Construct(iconPath, "w+");
+ r = file.Write(pPkgInfo->icon_buf, pPkgInfo->icon_size);