--- a/browserutilities/downloadmgr/DownloadMgrServEng/Src/HttpStorage.cpp Mon Jan 18 21:20:18 2010 +0200
+++ b/browserutilities/downloadmgr/DownloadMgrServEng/Src/HttpStorage.cpp Tue Feb 02 00:56:45 2010 +0200
@@ -729,7 +729,7 @@
( &fs, bytesToWrite ); )
if(!mmcOk)
{
- iRemovableStatus = TDownloadUiData::EDriveInternal ;
+ iRemovableStatus = KDriveAttInternal ;
CLOG_WRITE( "no MMC present" );
return EDriveC;
}
@@ -740,8 +740,8 @@
fs.Volume(volInfoE,EDriveE);
TInt64 freeC = volInfoC.iFree;//free memory available in that drive
TInt64 freeE = volInfoE.iFree;
- freeC>=freeE?EDriveC:EDriveE;//put the file in which ever drive has more memory
- iRemovableStatus = (EDriveC == freeC) ? TDownloadUiData::EDriveInternal : ( TDownloadUiData::EDriveExternallyMountable | TDownloadUiData::EDriveRemovable ) ;
+ freeC = freeE?EDriveC:EDriveE;//put the file in which ever drive has more memory
+ iRemovableStatus = (EDriveC == freeC) ? KDriveAttInternal : KDriveAttRemovable ;
return freeC;
#endif
}
@@ -861,9 +861,9 @@
if( !iDownload->ClientApp()->Engine()->Fs().Drive( driveInfo, drive) )
{
if (driveInfo.iDriveAtt & KDriveAttRemovable)
- iRemovableStatus = ( TDownloadUiData::EDriveExternallyMountable | TDownloadUiData::EDriveRemovable ) ;
+ iRemovableStatus = KDriveAttRemovable ;
else
- iRemovableStatus = TDownloadUiData::EDriveInternal ;
+ iRemovableStatus = KDriveAttInternal ;
CLOG_WRITE_1( "Removable: [%d]", iRemovableStatus );
}
else
@@ -1072,9 +1072,9 @@
if( !iDownload->ClientApp()->Engine()->Fs().Drive( driveInfo, drive) )
{
if (driveInfo.iDriveAtt & KDriveAttRemovable)
- iRemovableStatus = ( TDownloadUiData::EDriveExternallyMountable | TDownloadUiData::EDriveRemovable ) ;
+ iRemovableStatus = KDriveAttRemovable ;
else
- iRemovableStatus = TDownloadUiData::EDriveInternal ;
+ iRemovableStatus = KDriveAttInternal ;
CLOG_WRITE_1( "Removable: [%d]", iRemovableStatus );
}
else