Revert "[Application] fix tct fail issue at get iconPath"
authortaekeun.kang <taekeun.kang@samsung.com>
Wed, 14 Oct 2015 04:13:22 +0000 (13:13 +0900)
committertaekeun.kang <taekeun.kang@samsung.com>
Wed, 14 Oct 2015 04:14:22 +0000 (13:14 +0900)
This reverts commit 5d4c078fa203687b35f6a1e5b7c51da077a726ce.

Change-Id: I2db239b225ee5648bc78153b1d6c59378e96870c
Signed-off-by: taekeun.kang <taekeun.kang@samsung.com>
src/application/application_utils.cc

index 7ed451726829fc84cee159adf056fbba19655d02..2d005621b5dc9d2afc597c4092e32e43d633fa77 100755 (executable)
@@ -61,10 +61,6 @@ void ApplicationUtils::CreateApplicationInformation(const pkgmgrinfo_appinfo_h h
   ret = pkgmgrinfo_appinfo_get_icon(handle, &tmp_str);
   if ((PMINFO_R_OK != ret) || (nullptr == tmp_str)) {
     LoggerE("Failed to get icon path");
-    if (PMINFO_R_ERROR == ret) {
-      tmp_str = "(NULL)";
-      app_info->insert(std::make_pair("iconPath", picojson::value(tmp_str)));
-    }
   } else {
     app_info->insert(std::make_pair("iconPath", picojson::value(tmp_str)));
   }