voicerecorder/AppSrc/CVRAppUI.cpp
branchRCL_3
changeset 15 487b46c8e1a4
parent 14 f962425b9f8b
child 19 2f5c9ee7098c
equal deleted inserted replaced
14:f962425b9f8b 15:487b46c8e1a4
   184                     SetDriveL();
   184                     SetDriveL();
   185                     }
   185                     }
   186                 }
   186                 }
   187             }
   187             }
   188 
   188 
       
   189 	    if (CVRUSBStateHanlder::IsUsbActive())
       
   190 	        {
       
   191 	        ShowDialogForWaitUSBPluggingOutL();
       
   192 	        Exit();
       
   193 	        }
       
   194         
   189         /***** check if memory is below min value, if yes, close app*****/
   195         /***** check if memory is below min value, if yes, close app*****/
   190         RFs& fs(CEikonEnv::Static()->FsSession());
   196         RFs& fs(CEikonEnv::Static()->FsSession());
   191         if (SysUtil::DiskSpaceBelowCriticalLevelL(&fs, 0,
   197         if (SysUtil::DiskSpaceBelowCriticalLevelL(&fs, 0,
   192                 VRUtils::MemoDriveL()))
   198                 VRUtils::MemoDriveL()))
   193             {
   199             {