file << "=";
}
-void TaskManifestFile::updateAilInfo()
-{
- // Update ail for desktop
- std::string cfgAppid =
- DPL::ToUTF8String(m_context.widgetConfig.tzAppid);
- const char* appid = cfgAppid.c_str();
-
- LogDebug("Update ail desktop : " << appid);
- ail_appinfo_h ai = NULL;
- ail_error_e ret;
-
- ret = ail_get_appinfo(appid, &ai);
- if (ai) {
- ail_destroy_appinfo(ai);
- }
-
- if (AIL_ERROR_NO_DATA == ret) {
- if (ail_desktop_add(appid) < 0) {
- LogWarning("Failed to add ail desktop : " << appid);
- }
- } else if (AIL_ERROR_OK == ret) {
- if (ail_desktop_update(appid) < 0) {
- LogWarning("Failed to update ail desktop : " << appid);
- }
- }
-}
-
void TaskManifestFile::backupIconFiles()
{
LogInfo("Backup Icon Files");
ThrowMsg(Exceptions::ManifestInvalid, "Parser returncode: " << code);
}
- // TODO : It will be removed. AIL update is temporary code request by pkgmgr
- // team.
- updateAilInfo();
-
m_context.job->UpdateProgress(
InstallerContext::INSTALL_CREATE_MANIFEST,
"Widget Manifest Parsing Finished");
ThrowMsg(Exceptions::ManifestInvalid, "Parser returncode: " << code);
}
- // TODO : It will be removed. AIL update is temporary code request by pkgmgr
- // team.
- updateAilInfo();
-
m_context.job->UpdateProgress(
InstallerContext::INSTALL_CREATE_MANIFEST,
"Widget Manifest Parsing Finished");