voicerecorder/RecViewSrc/CVRRecViewModel.cpp
branchRCL_3
changeset 15 487b46c8e1a4
parent 14 f962425b9f8b
child 19 2f5c9ee7098c
equal deleted inserted replaced
14:f962425b9f8b 15:487b46c8e1a4
  2425 void CVRRecViewModel::HandleMMCEjectEventL()
  2425 void CVRRecViewModel::HandleMMCEjectEventL()
  2426 	{
  2426 	{
  2427 	
  2427 	
  2428 	// Actions to take when recording
  2428 	// Actions to take when recording
  2429 	TInt storageDrive = VRUtils::MemoDriveL();   	 
  2429 	TInt storageDrive = VRUtils::MemoDriveL();   	 
  2430     if ( storageDrive == VRUtils::GetRemovableMassStorageL() && !CVRUSBStateHanlder::IsUsbActive())
  2430     if ( ( ( storageDrive == VRUtils::GetRemovableMassStorageL()) ||
       
  2431             ( iMemo != NULL && iMemo->StorageDrive() == VRUtils::GetRemovableMassStorageL() ) ) && 
       
  2432             ( !CVRUSBStateHanlder::IsUsbActive() ) )
  2431 		{
  2433 		{
  2432         //exit for mmc dismount	
  2434         //exit for mmc dismount	
  2433         TWsEvent event;
  2435         TWsEvent event;
  2434         event.SetType( EAknSoftkeyExit );
  2436         event.SetType( EAknSoftkeyExit );
  2435         event.SetTimeNow();
  2437         event.SetTimeNow();