camerauis/cameraapp/generic/src/CamImageSaveActive.cpp
branchRCL_3
changeset 11 792dfc98fb3b
parent 7 dbec5787fa68
child 12 8c55c525d5d7
equal deleted inserted replaced
7:dbec5787fa68 11:792dfc98fb3b
   447         PRINT( _L("Camera <> calling iHarvesterClient.HarvestFile") );
   447         PRINT( _L("Camera <> calling iHarvesterClient.HarvestFile") );
   448 
   448 
   449 #ifdef RD_MDS_2_5   
   449 #ifdef RD_MDS_2_5   
   450         if ( iController.UiConfigManagerPtr() && iController.UiConfigManagerPtr()->IsLocationSupported() )
   450         if ( iController.UiConfigManagerPtr() && iController.UiConfigManagerPtr()->IsLocationSupported() )
   451             {
   451             {
   452             TBool location ;
   452             TBool location = iController.IntegerSettingValue( ECamSettingItemRecLocation );
   453 			//Never save location information in second camera
   453 			//Never save location information in second camera
   454 			if(iController.ActiveCamera() == ECamActiveCameraSecondary)
       
   455 				  {
       
   456 				  location = EFalse;
       
   457 				  }
       
   458 			else
       
   459 				  {
       
   460 				  location = iController.IntegerSettingValue( ECamSettingItemRecLocation );
       
   461 				  }
       
   462             iHarvesterClient.HarvestFile( aFilename,
   454             iHarvesterClient.HarvestFile( aFilename,
   463                                           harvestAlbumIds,
   455                                           harvestAlbumIds,
   464                                           location );
   456                                           location );
   465             }
   457             }
   466         else
   458         else