On nodisplay mode,icon not appear in task manager
authorleerang song <leerang.song@samsung.com>
Thu, 10 Jan 2013 04:22:31 +0000 (13:22 +0900)
committerleerang song <leerang.song@samsung.com>
Thu, 10 Jan 2013 05:20:25 +0000 (14:20 +0900)
[Issue#] N/A
[Bug] N/A
[Cause] N/A
[Solution] Add setTaskmanage function in setWidgetOtherInfo.
[Verification] N/A

Change-Id: I4d7d81b1985a289625761adf77eaf83203991cd3

src/jobs/widget_install/task_manifest_file.cpp

index ba3b2ae..e18abdb 100755 (executable)
@@ -607,7 +607,6 @@ void TaskManifestFile::setWidgetName(Manifest & manifest, UiApplication & uiApp)
     //type
     uiApp.setType(DPL::FromASCIIString("webapp"));
     manifest.setType(L"wgt");
-    uiApp.setTaskmanage(true);
 }
 
 void TaskManifestFile::generateWidgetName(Manifest & manifest, UiApplication &uiApp, const DPL::OptionalString& tag, DPL::OptionalString name, bool & defaultNameSaved)
@@ -726,9 +725,11 @@ void TaskManifestFile::setWidgetOtherInfo(UiApplication & uiApp)
          if(!strcmp(DPL::ToUTF8String(it->m_name).c_str(), ST_NODISPLAY)) {
              if(!strcmp(DPL::ToUTF8String(it->m_value).c_str(), ST_TRUE)) {
                 uiApp.setNodisplay(true);
+                uiApp.setTaskmanage(false);
              }
              else {
                 uiApp.setNodisplay(false);
+                uiApp.setTaskmanage(true);
             }
          }
      }