45979
[apps/osp/Gallery.git] / src / GlAlbumListPresentationModel.cpp
index 7e8b035..63a048f 100644 (file)
@@ -323,7 +323,7 @@ AlbumListPresentationModel::RenameAlbum(const String& orgPath, const String& new
        return r;
 }
 
-void AlbumListPresentationModel::OnContentScanCompleted (const Tizen::Base::String &scanPath)\r
+bool AlbumListPresentationModel::OnContentScanCompleted (const Tizen::Base::String &scanPath)\r
 {
        AppLogDebug("ENTER");\r
        if (__pAlbumListener && (scanPath == __renameNewPath))\r
@@ -331,8 +331,11 @@ void AlbumListPresentationModel::OnContentScanCompleted (const Tizen::Base::Stri
                InitializeAlbumInfoList(CONTENT_TYPE_ALL);
                __pAlbumListener->OnAlbumRenameComplete();
                __renameNewPath = L"";
+               AppLogDebug("EXIT");
+               return true;
        }
        AppLogDebug("EXIT");
+       return false;
 }
 
 void