From: rashmi udaya Date: Tue, 25 Jun 2013 04:33:38 +0000 (+0530) Subject: NSE_42715 X-Git-Tag: submit/tizen_2.2/20130714.134410~36 X-Git-Url: http://review.tizen.org/git/?p=apps%2Fosp%2FGallery.git;a=commitdiff_plain;h=c3884ae587010b538aec495bfcd51bc2849697b2 NSE_42715 Change-Id: Ic4429baa62ae0c3dac8713db3bcbb51736c32904 --- diff --git a/src/GlAlbumListPresentationModel.cpp b/src/GlAlbumListPresentationModel.cpp index 4d39e5f..ae0007b 100644 --- a/src/GlAlbumListPresentationModel.cpp +++ b/src/GlAlbumListPresentationModel.cpp @@ -1020,12 +1020,10 @@ AlbumListPresentationModel::OnThumbnailReceivedN(IEventArg& eventArg) if (__pAlbumInfoList != null) { int outterLoopCount = __pAlbumInfoList->GetCount(); - AppLogDebug("rashmi outterLoopCount(%d)", outterLoopCount); for (int x = 0; x < outterLoopCount; ++x) { AlbumInfo* pAlbumInfo = static_cast(__pAlbumInfoList->GetAt(x)); int innerLoopCount = pAlbumInfo->GetContentIdCount(); - AppLogDebug("rashmi innerLoopCount(%d)", innerLoopCount); for (int i = 0; i < innerLoopCount; ++i) { if (i >= FOLDER_BITMAP_MAX) @@ -1039,16 +1037,7 @@ AlbumListPresentationModel::OnThumbnailReceivedN(IEventArg& eventArg) { pAlbumInfo->SetFolderThumnailBitmap(pThumbnailInfo->GetBitmapN()); pUpdateFolderIndex->Add(new (std::nothrow) Integer(x)); - AppLogDebug("rashmi adding(%d)", x); } - else - { - AppLogDebug("rashmi GetFolderThumnailBitmap is not null(%d)", innerLoopCount); - } - } - else - { - AppLogDebug("rashmi contetentid not same(%d)", innerLoopCount); } } } @@ -1063,8 +1052,6 @@ AlbumListPresentationModel::OnThumbnailReceivedN(IEventArg& eventArg) pListener = static_cast(pEnum->GetCurrent()); int loopCount = pUpdateFolderIndex->GetCount(); - AppLogDebug("rashmi loopCount(%d)", loopCount); - // int loopCount = __pAlbumInfoList->GetCount(); for (int k = 0; k < loopCount; ++k) { Integer *pIndex = (Integer*)pUpdateFolderIndex->GetAt(k); diff --git a/src/GlFileListPresentationModel.cpp b/src/GlFileListPresentationModel.cpp index df34571..d71a4eb 100644 --- a/src/GlFileListPresentationModel.cpp +++ b/src/GlFileListPresentationModel.cpp @@ -1024,10 +1024,8 @@ FileListPresentationModel::StartAppControl(const String& providerId, const Strin AppLogDebug("ENTER"); AppControl* pAc = AppManager::FindAppControlN(providerId, operationId); - AppLogDebug("rashmi b4(%ls)", __providerId.GetPointer()); ClearProviderId(); __providerId.Append(providerId); - AppLogDebug("rashmi after(%ls)", __providerId.GetPointer()); if (pAc == null) { @@ -1617,11 +1615,10 @@ FileListPresentationModel::RotateImage(int index, RotateMode rotateMode) void FileListPresentationModel::ClearImageCache(void) { - AppLogDebug("FileListPresentationModel::ClearImageCache ++"); + AppLogDebug("ENTER"); if(__pIconListViewCache != null) { - AppLogDebug("rashmi __providerId(%ls)", __providerId.GetPointer()); bool clearThumbnailReq = true; while(__pIconListViewCache->GetCount() != 0) { @@ -1634,7 +1631,7 @@ FileListPresentationModel::ClearImageCache(void) __pIconListViewCache->RemoveAt(0, true); } } - AppLogDebug("FileListPresentationModel::ClearImageCache --"); + AppLogDebug("EXIT"); } void diff --git a/src/GlSettingMainForm.cpp b/src/GlSettingMainForm.cpp index 51ae65f..ede10df 100644 --- a/src/GlSettingMainForm.cpp +++ b/src/GlSettingMainForm.cpp @@ -100,6 +100,7 @@ result SettingMainForm::OnTerminating(void) { AppLogDebug("ENTER"); + SettingInfo::RemoveSettingEventListener(*this); AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult())); return E_SUCCESS;