NSE_42715
authorrashmi udaya <rashmi.uday@samsung.com>
Tue, 25 Jun 2013 04:33:38 +0000 (10:03 +0530)
committerrashmi udaya <rashmi.uday@samsung.com>
Tue, 25 Jun 2013 04:33:38 +0000 (10:03 +0530)
Change-Id: Ic4429baa62ae0c3dac8713db3bcbb51736c32904

src/GlAlbumListPresentationModel.cpp
src/GlFileListPresentationModel.cpp
src/GlSettingMainForm.cpp

index 4d39e5f..ae0007b 100644 (file)
@@ -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<AlbumInfo*>(__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<IAlbumEventListener*>(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);
index df34571..d71a4eb 100644 (file)
@@ -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
index 51ae65f..ede10df 100644 (file)
@@ -100,6 +100,7 @@ result
 SettingMainForm::OnTerminating(void)
 {
        AppLogDebug("ENTER");
+       SettingInfo::RemoveSettingEventListener(*this);
        AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
 
        return E_SUCCESS;