equal
deleted
inserted
replaced
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(); |