mmappcomponents/harvester/metadataextractor/src/mpxfileinfoutility.cpp
branchRCL_3
changeset 23 e42293e811d8
parent 12 51035f0751c2
child 24 6c1dfe4da5dd
--- a/mmappcomponents/harvester/metadataextractor/src/mpxfileinfoutility.cpp	Thu Jul 15 19:11:42 2010 +0300
+++ b/mmappcomponents/harvester/metadataextractor/src/mpxfileinfoutility.cpp	Thu Aug 19 10:24:28 2010 +0300
@@ -12,7 +12,7 @@
 * Contributors:
 *
 * Description:  This class is responsible for reading file info
-*  Version     : %version: da1mmcf#5.1.3.1.8 % << Don't touch! Updated by Synergy at check-out.
+*  Version     : %version: e003sa33#5.1.3.1.10 % << Don't touch! Updated by Synergy at check-out.
 *
 *  Copyright © 2005 Nokia. All rights reserved.
 */
@@ -81,8 +81,8 @@
     iMMFControllers.ResetAndDestroy();
     iMMFControllers.Close();
     
-    // delete non cached controller
-    if(iController)
+    //delete non cached Helix controller
+    if( iController && ( iCurrentControllerUid == 0x10207B65 ) )
         {
         iController->Close();
         delete iController;
@@ -163,9 +163,6 @@
                                                  buf->Ptr(0),
                                                  dataSource));
     
-    MPX_DEBUG1("CMPXFileInfoUtility::OpenFileL()- AddDataSink()");
-    User::LeaveIfError(iController->AddDataSink(KUidMmfAudioOutput,
-                                               KNullDesC8));
     CleanupStack::PopAndDestroy(buf);
     
     MPX_DEBUG1("CMPXFileInfoUtility::OpenFileL()--->");