diff -r 0b3699f6c654 -r e36b2f4799c0 contentstorage/casrv/cawidgetscanner/src/cawidgetstoragehandler.cpp --- a/contentstorage/casrv/cawidgetscanner/src/cawidgetstoragehandler.cpp Fri Sep 17 08:32:18 2010 +0300 +++ b/contentstorage/casrv/cawidgetscanner/src/cawidgetstoragehandler.cpp Mon Oct 04 00:38:31 2010 +0300 @@ -353,12 +353,11 @@ { TBool massStorageNotInUse( ETrue ); TInt drive; - if( DriveInfo::GetDefaultDrive( DriveInfo::EDefaultMassStorage, drive ) == - KErrNone ) + if( DriveInfo::GetDefaultDrive( + DriveInfo::EDefaultMassStorage, drive ) == KErrNone ) { - TUint status; - if( DriveInfo::GetDriveStatus( iFs, drive, status ) == KErrNone && - ( status & DriveInfo::EDriveInUse ) ) + TVolumeInfo volumeInfo; + if( iFs.Volume( volumeInfo, drive ) == KErrNotReady ) { massStorageNotInUse = EFalse; }