voicerecorder/RecViewSrc/CVRRecViewModel.cpp
branchRCL_3
changeset 15 487b46c8e1a4
parent 14 f962425b9f8b
child 19 2f5c9ee7098c
--- a/voicerecorder/RecViewSrc/CVRRecViewModel.cpp	Tue May 25 12:45:15 2010 +0300
+++ b/voicerecorder/RecViewSrc/CVRRecViewModel.cpp	Wed Jun 09 09:44:44 2010 +0300
@@ -2427,7 +2427,9 @@
 	
 	// Actions to take when recording
 	TInt storageDrive = VRUtils::MemoDriveL();   	 
-    if ( storageDrive == VRUtils::GetRemovableMassStorageL() && !CVRUSBStateHanlder::IsUsbActive())
+    if ( ( ( storageDrive == VRUtils::GetRemovableMassStorageL()) ||
+            ( iMemo != NULL && iMemo->StorageDrive() == VRUtils::GetRemovableMassStorageL() ) ) && 
+            ( !CVRUSBStateHanlder::IsUsbActive() ) )
 		{
         //exit for mmc dismount	
         TWsEvent event;