mtpdataproviders/mtpimagedp/src/cmtpimagedpgetobject.cpp
branchRCL_3
changeset 58 142dacf7b30e
parent 40 453dfc402455
equal deleted inserted replaced
48:debf68073f2f 58:142dacf7b30e
   153         CMTPObjectMetaData* objectInfo = iRequestChecker->GetObjectInfo(objectHandle);    
   153         CMTPObjectMetaData* objectInfo = iRequestChecker->GetObjectInfo(objectHandle);    
   154         if (MTPImageDpUtilits::IsNewPicture(*objectInfo))
   154         if (MTPImageDpUtilits::IsNewPicture(*objectInfo))
   155             {       
   155             {       
   156             //update new picture status            
   156             //update new picture status            
   157             MTPImageDpUtilits::UpdateObjectStatusToOldL(iFramework, *objectInfo);
   157             MTPImageDpUtilits::UpdateObjectStatusToOldL(iFramework, *objectInfo);
   158             iDataProvider.ResetNewPictures();
   158             iDataProvider.DecreaseNewPictures(1);
   159             }
   159             }
   160         }
   160         }
   161     
   161     
   162     __FLOG(_L8("CMTPImageDpGetObject::DoHandleResponsePhaseL - Exit"));
   162     __FLOG(_L8("CMTPImageDpGetObject::DoHandleResponsePhaseL - Exit"));
   163     return CMTPRequestProcessor::DoHandleCompletingPhaseL();
   163     return CMTPRequestProcessor::DoHandleCompletingPhaseL();