else
{
__pAlbumListener = pAlbumListener;
- if (orgPath.Contains(Tizen::System::Environment::GetMediaPath()))
- {
- r = ContentManager::ScanDirectory(Tizen::System::Environment::GetMediaPath(), true, this, __reqId);
- }
- else if (orgPath.Contains(Tizen::System::Environment::GetExternalStoragePath()))
- {
- r = ContentManager::ScanDirectory(Tizen::System::Environment::GetExternalStoragePath(), true, this, __reqId);
- }
+ r = ContentManager::ScanDirectory(newPath, true, this, __reqId);
AppLogDebug("Content scan failed (%s)", GetErrorMessage(r));
}
AppLogDebug("EXIT");