Change-Id: I9240aa774e12d2d21dba585331894a411a9caf31
if (pAlbumInfo != null && pAlbumInfo->GetContentIdCount() > 0)
{
__pAlbumInfoList->Add(pAlbumInfo);
if (pAlbumInfo != null && pAlbumInfo->GetContentIdCount() > 0)
{
__pAlbumInfoList->Add(pAlbumInfo);
+ AppLog("Adding album");
int insertIndex = 0;
if (pAllAlbumInfo->GetContentIdCount() > 0)
{
int insertIndex = 0;
if (pAllAlbumInfo->GetContentIdCount() > 0)
{
- __pAlbumInfoList->InsertAt((Object&)*pAllAlbumInfo, ++insertIndex);
+ __pAlbumInfoList->InsertAt((Object&)*pAllAlbumInfo, insertIndex++);
if (pCameraAlbumInfo->GetContentIdCount() > 0)
{
if (pCameraAlbumInfo->GetContentIdCount() > 0)
{
- __pAlbumInfoList->InsertAt((Object&)*pCameraAlbumInfo, ++insertIndex);
+ __pAlbumInfoList->InsertAt((Object&)*pCameraAlbumInfo, insertIndex++);
if (pDownloadAlbumInfo->GetContentIdCount() > 0)
{
if (pDownloadAlbumInfo->GetContentIdCount() > 0)
{
- __pAlbumInfoList->InsertAt((Object&)*pDownloadAlbumInfo, ++insertIndex);
+ __pAlbumInfoList->InsertAt((Object&)*pDownloadAlbumInfo, insertIndex++);
if (pNoNameAlbumInfo->GetContentIdCount() > 0)
{
if (pNoNameAlbumInfo->GetContentIdCount() > 0)
{
- __pAlbumInfoList->InsertAt((Object&)*pNoNameAlbumInfo, ++insertIndex);
+ __pAlbumInfoList->InsertAt((Object&)*pNoNameAlbumInfo, insertIndex++);
if (__pContentIdList->GetAt(__moveToCount) != null)
{
result r = TimerExpired(__pContentIdList->GetAt(__moveToCount));
if (__pContentIdList->GetAt(__moveToCount) != null)
{
result r = TimerExpired(__pContentIdList->GetAt(__moveToCount));
- if (IsFailed(r))
- {
- AppLogDebug("OnTimerExpired EXIT(%s)", GetErrorMessage(r));
- OnOpCancelled(CANCEL_SYS_ERROR);
- return;
- }
}
++__moveToCount;
__pMoveProBar->IncProgress(__moveToCount);
}
++__moveToCount;
__pMoveProBar->IncProgress(__moveToCount);