Change-Id: I837237c67bd89fb6accf5d7b0be58ac8026a0bd4
Signed-off-by: santhosh <santhosh.ic@samsung.com>
virtual void OnThumbnailReceivedN(Tizen::Base::Runtime::IEventArg& eventArg);
- void OnContentScanCompleted(const Tizen::Base::String &scanPath);\r
+ bool OnContentScanCompleted(const Tizen::Base::String &scanPath);\r
void OnContentCreated(void);
void OnContentUpdated(void);
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
InitializeAlbumInfoList(CONTENT_TYPE_ALL);
__pAlbumListener->OnAlbumRenameComplete();
__renameNewPath = L"";
+ AppLogDebug("EXIT");
+ return true;
}
AppLogDebug("EXIT");
+ return false;
}
void
}
else
{
- __changeNotificationReceived = true;
+ bool renameHandled = AlbumListPresentationModel::GetInstance()->OnContentScanCompleted(directoryPath);
+ if (!renameHandled)
+ {
+ __changeNotificationReceived = true;
+ }
}\r
AppLogDebug("EXIT");