summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/XmlHandler/ManifestGenerator.cpp2
-rwxr-xr-xsrc/XmlHandler/ManifestHandler.cpp34
2 files changed, 27 insertions, 9 deletions
diff --git a/src/XmlHandler/ManifestGenerator.cpp b/src/XmlHandler/ManifestGenerator.cpp
index ede9ffc..db6714c 100755
--- a/src/XmlHandler/ManifestGenerator.cpp
+++ b/src/XmlHandler/ManifestGenerator.cpp
@@ -171,7 +171,7 @@ ManifestGenerator::GetGlFrameValue(ArrayList* pFeatureList) const
return "use-system-setting";
}
- if (pFeature->GetName() == L"GlFrame")
+ if (pFeature->GetName() == L"HwAcceleration" || pFeature->GetName() == L"GlFrame")
{
String value = pFeature->GetValue();
if (value == L"On")
diff --git a/src/XmlHandler/ManifestHandler.cpp b/src/XmlHandler/ManifestHandler.cpp
index 62060b4..7cc8a5f 100755
--- a/src/XmlHandler/ManifestHandler.cpp
+++ b/src/XmlHandler/ManifestHandler.cpp
@@ -427,11 +427,20 @@ ManifestHandler::OnUiAppStartElement(void)
AppLogTag(OSP_INSTALLER, " - MainmenuVisible=%s", pMainmenuVisible);
}
- char* pGlFrame = pAttr->Find("GlFrame");
- if (pGlFrame)
+ char* pHwAcceleration = pAttr->Find("HwAcceleration");
+ if (pHwAcceleration)
{
- AddAppFeature("GlFrame", pGlFrame);
- AppLogTag(OSP_INSTALLER, " - GlFrame=%s", pGlFrame);
+ AddAppFeature("HwAcceleration", pHwAcceleration);
+ AppLogTag(OSP_INSTALLER, " - HwAcceleration=%s", pHwAcceleration);
+ }
+ else
+ {
+ char* pGlFrame = pAttr->Find("GlFrame");
+ if (pGlFrame)
+ {
+ AddAppFeature("GlFrame", pGlFrame);
+ AppLogTag(OSP_INSTALLER, " - GlFrame=%s", pGlFrame);
+ }
}
char* pCategory = pAttr->Find("Category");
@@ -562,11 +571,20 @@ ManifestHandler::OnServiceAppStartElement(void)
AppLogTag(OSP_INSTALLER, "<UseUi=%s>", pUseUi);
}
- char* pGlFrame = pAttr->Find("GlFrame");
- if (pGlFrame)
+ char* pHwAcceleration = pAttr->Find("HwAcceleration");
+ if (pHwAcceleration)
{
- AddAppFeature("GlFrame", pGlFrame);
- AppLogTag(OSP_INSTALLER, "<GlFrame=%s>", pGlFrame);
+ AddAppFeature("HwAcceleration", pHwAcceleration);
+ AppLogTag(OSP_INSTALLER, " - HwAcceleration=%s", pHwAcceleration);
+ }
+ else
+ {
+ char* pGlFrame = pAttr->Find("GlFrame");
+ if (pGlFrame)
+ {
+ AddAppFeature("GlFrame", pGlFrame);
+ AppLogTag(OSP_INSTALLER, " - GlFrame=%s", pGlFrame);
+ }
}
String app_id;