summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuyoung Jang <duyoung.jang@samsung.com>2013-03-11 14:19:41 +0900
committerDuyoung Jang <duyoung.jang@samsung.com>2013-03-11 14:19:41 +0900
commit99c26a9a09733fad632b2efa099e76faaa0441ef (patch)
tree22e6f47f1a7f9e3064a6f1e1a7ac1710ace644aa
parent83377f423956236b367926d464bf01ac90dc6f47 (diff)
downloadinstaller-99c26a9a09733fad632b2efa099e76faaa0441ef.tar.gz
installer-99c26a9a09733fad632b2efa099e76faaa0441ef.tar.bz2
installer-99c26a9a09733fad632b2efa099e76faaa0441ef.zip
Recent tag is parsed.
Change-Id: Id4aa95b65012fc28eda2682a951c645949148f3a Signed-off-by: Duyoung Jang <duyoung.jang@samsung.com>
-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)
{