mpserviceplugins/mpxsqlitedbhgplugin/src/mpxdbplugin.cpp
changeset 41 ea59c434026a
parent 32 c163ef0b758d
child 38 b93f525c9244
equal deleted inserted replaced
32:c163ef0b758d 41:ea59c434026a
   422             break;
   422             break;
   423             }
   423             }
   424         case EMcRefreshEnded:
   424         case EMcRefreshEnded:
   425             {
   425             {
   426             MPX_DEBUG1("CMPXDbPlugin::CommandL - EMcRefreshEnded");
   426             MPX_DEBUG1("CMPXDbPlugin::CommandL - EMcRefreshEnded");
   427             iDbHandler->CheckDiskSpaceOnDrivesL();
       
   428             // ask the handler to finalize the transaction
   427             // ask the handler to finalize the transaction
   429             iDbHandler->RefreshEndL();
   428             iDbHandler->RefreshEndL();
   430             iRefreshing=EFalse;
   429             iRefreshing=EFalse;
   431             break;
   430             break;
   432             }
   431             }
   454             iDbHandler->CheckDiskSpaceOnDrivesL();
   453             iDbHandler->CheckDiskSpaceOnDrivesL();
   455             iMtpInUse = ETrue;
   454             iMtpInUse = ETrue;
   456             iDbHandler->MtpStartL();
   455             iDbHandler->MtpStartL();
   457             break;
   456             break;
   458         case EMcCmdMtpEnd:
   457         case EMcCmdMtpEnd:
   459             iDbHandler->CheckDiskSpaceOnDrivesL();
       
   460             iMtpInUse = EFalse;
   458             iMtpInUse = EFalse;
   461             iDbHandler->MtpEndL();
   459             iDbHandler->MtpEndL();
   462             break;
   460             break;
   463          default:
   461          default:
   464             {
   462             {