summaryrefslogtreecommitdiff
path: root/src/XmlHandler/ManifestHandler.cpp
diff options
context:
space:
mode:
authorDongeup Ham <dongeup.ham@samsung.com>2013-01-17 19:25:07 +0900
committerDongeup Ham <dongeup.ham@samsung.com>2013-01-17 19:40:28 +0900
commit23445b0d38c8eb9696985c9c3dbb9269d44e3c21 (patch)
treeb474c09f09b6f07e7df568c405985b7b7a2e0a9b /src/XmlHandler/ManifestHandler.cpp
parent6468e3974566b3dc3dd3dd34c2cb2bd4f9daf5f6 (diff)
downloadinstaller-23445b0d38c8eb9696985c9c3dbb9269d44e3c21.tar.gz
installer-23445b0d38c8eb9696985c9c3dbb9269d44e3c21.tar.bz2
installer-23445b0d38c8eb9696985c9c3dbb9269d44e3c21.zip
copy loader / account tag / logs
Change-Id: I1591ca78305adcb2f1679eab1d782b8efb4a682e Signed-off-by: Dongeup Ham <dongeup.ham@samsung.com>
Diffstat (limited to 'src/XmlHandler/ManifestHandler.cpp')
-rwxr-xr-xsrc/XmlHandler/ManifestHandler.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/XmlHandler/ManifestHandler.cpp b/src/XmlHandler/ManifestHandler.cpp
index a887f73..e167510 100755
--- a/src/XmlHandler/ManifestHandler.cpp
+++ b/src/XmlHandler/ManifestHandler.cpp
@@ -1248,6 +1248,7 @@ ManifestHandler::ParseAppAttribute(XmlAttribute* pAttr, bool isUiApp)
{
AppLogTag(OSP_INSTALLER, " - Name=%s", pName);
__pPackageAppInfoImpl->SetName(pName);
+ __pAppData->__appId = __pPackageInfoImpl->GetId() + L"." + pName;
}
char* pMain = pAttr->Find("Main");
@@ -1378,6 +1379,16 @@ ManifestHandler::ParseAppAttribute(XmlAttribute* pAttr, bool isUiApp)
AddAppFeature("AutoRestart", pAutoRestart);
AppLogTag(OSP_INSTALLER, " - AutoRestart=%s", pAutoRestart);
}
+
+ char *pSystemService = pAttr->Find("SystemService");
+ if (pSystemService)
+ {
+ if (strcasecmp(pSystemService, "True") == 0)
+ {
+ __pAppData->__isSystemService = true;
+ AppLogTag(OSP_INSTALLER, " - SystemService=%s", pSystemService);
+ }
+ }
}
String appId;