summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinc/InstallerDefs.h2
-rwxr-xr-xsrc/Context/InstallationContextData.h1
-rwxr-xr-xsrc/XmlHandler/ManifestGenerator.cpp20
-rwxr-xr-xsrc/XmlHandler/ManifestHandler.cpp7
4 files changed, 26 insertions, 4 deletions
diff --git a/inc/InstallerDefs.h b/inc/InstallerDefs.h
index 15320d5..a3b443a 100755
--- a/inc/InstallerDefs.h
+++ b/inc/InstallerDefs.h
@@ -23,7 +23,7 @@
#include "InstallerUtil.h"
-#define OSP_INSTALLER_VERSION "version=[20130308.1]"
+#define OSP_INSTALLER_VERSION "version=[20130311.1]"
#define DIR_BIN L"/bin"
#define DIR_INFO L"/info"
diff --git a/src/Context/InstallationContextData.h b/src/Context/InstallationContextData.h
index 5683a7c..32491b3 100755
--- a/src/Context/InstallationContextData.h
+++ b/src/Context/InstallationContextData.h
@@ -256,6 +256,7 @@ public:
Tizen::Base::String __notificationIcon;
Tizen::Base::String __type;
Tizen::Base::String __subModeAppName;
+ Tizen::Base::String __recent;
Tizen::Base::Collection::IListT<Tizen::Base::String*>* __pCategoryList;
Tizen::Base::Collection::IListT<AccountData*>* __pAccountDataList;
diff --git a/src/XmlHandler/ManifestGenerator.cpp b/src/XmlHandler/ManifestGenerator.cpp
index 236badd..6a7b0d1 100755
--- a/src/XmlHandler/ManifestGenerator.cpp
+++ b/src/XmlHandler/ManifestGenerator.cpp
@@ -481,17 +481,31 @@ ManifestGenerator::WriteApp(int index, AppData* pAppData)
if (pAppData->__type == L"UiApp")
{
- taskmanage = L"true";
+ if (pAppData->__recent.IsEmpty() == true)
+ {
+ if (pAppData->__mainmenuVisible == true)
+ {
+ taskmanage = L"true";
+ }
+ else
+ {
+ taskmanage = L"false";
+ }
+ }
+ else
+ {
+ String recent;
+ pAppData->__recent.ToLowerCase(recent);
+ taskmanage = recent;
+ }
if (pAppData->__mainmenuVisible == true)
{
nodisplay = L"false";
- taskmanage = L"true";
}
else
{
nodisplay = L"true";
- taskmanage = L"false";
}
const char* pCategory = null;
diff --git a/src/XmlHandler/ManifestHandler.cpp b/src/XmlHandler/ManifestHandler.cpp
index baa1771..1ef1f59 100755
--- a/src/XmlHandler/ManifestHandler.cpp
+++ b/src/XmlHandler/ManifestHandler.cpp
@@ -1237,6 +1237,13 @@ ManifestHandler::ParseAppAttribute(XmlAttribute* pAttr, bool isUiApp)
__pAppData->__main = L"False";
}
+ char* pRecent = pAttr->Find("Recent");
+ if (pRecent)
+ {
+ AppLog(" - Recent=%s", pRecent);
+ __pAppData->__recent = pRecent;
+ }
+
char* pHwAcceleration = pAttr->Find("HwAcceleration");
if (pHwAcceleration)
{