summaryrefslogtreecommitdiff
path: root/src/XmlHandler/ManifestHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/XmlHandler/ManifestHandler.cpp')
-rwxr-xr-xsrc/XmlHandler/ManifestHandler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/XmlHandler/ManifestHandler.cpp b/src/XmlHandler/ManifestHandler.cpp
index 0e2fb54..02e8bc9 100755
--- a/src/XmlHandler/ManifestHandler.cpp
+++ b/src/XmlHandler/ManifestHandler.cpp
@@ -438,6 +438,7 @@ ManifestHandler::OnLiveBoxElement(void)
XmlAttribute *pAttr = null;
char *pUpdatePeriod = null;
char *pPopupEnabled = null;
+ char *pName = null;
__pLiveboxInfo = new LiveboxInfo;
TryReturn(__pLiveboxInfo, false, "[osp-installer] __pLiveboxInfo is null");
@@ -456,6 +457,11 @@ ManifestHandler::OnLiveBoxElement(void)
__pLiveboxInfo->SetPopupEnabled(pPopupEnabled);
+ pName = pAttr->Find("Name");
+ TryReturn(pName, false, "[osp-installer] pName is null");
+
+ __pLiveboxInfo->SetName(pName);
+
AppLogTag(OSP_INSTALLER, "<Livebox UpdatePeriod=\"%lld\" pPopupEnabled=\"%s\">", updatePeriod, pPopupEnabled);
return true;