From: Anastasia Lyupa Date: Tue, 29 Oct 2013 09:46:32 +0000 (+0400) Subject: [FIX] Internet app closing during file inst X-Git-Tag: Tizen_SDK_2.3~128 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e8a3f6d870f610205678f8787aaf2ae5a0a903a;p=platform%2Fcore%2Fsystem%2Fswap-probe.git [FIX] Internet app closing during file inst It is a temporary solution Change-Id: I22cf5fcb056251635c553ee84a8bb7eeb358369f Signed-off-by: Anastasia Lyupa --- diff --git a/probe_tizenapi/tizen_file.cpp b/probe_tizenapi/tizen_file.cpp index 700f0ec..3a07450 100755 --- a/probe_tizenapi/tizen_file.cpp +++ b/probe_tizenapi/tizen_file.cpp @@ -134,8 +134,11 @@ result File::Construct(const Tizen::Base::String& filePath, if(postBlockBegin(blockresult)) { WcharToChar(temp_path,filePath.GetPointer()); WcharToChar(temp_mode,openMode.GetPointer()); - if(E_SUCCESS == File::GetAttributes(this->GetName(), attr)) - size = attr.GetFileSize(); + // Comment this because of fault during Internet application profiling + // (it closes unexpectedly) but for DATizenTestApp it is ok + // There is the same problem at File::~File(void) + //if(E_SUCCESS == File::GetAttributes(this->GetName(), attr)) + // size = attr.GetFileSize(); PREPARE_LOCAL_BUF(); PACK_COMMON_BEGIN(MSG_PROBE_RESOURCE,