mmappcomponents/harvester/filehandler/src/mpxdiskspacewatcher.cpp
branchCompilerCompatibility
changeset 13 da1f3efa404b
parent 9 bee149131e4b
--- a/mmappcomponents/harvester/filehandler/src/mpxdiskspacewatcher.cpp	Mon Mar 08 21:44:04 2010 +0000
+++ b/mmappcomponents/harvester/filehandler/src/mpxdiskspacewatcher.cpp	Sun Mar 14 13:11:48 2010 +0000
@@ -147,8 +147,12 @@
 void CMPXDiskSpaceWatcher::RunL()
     {
     // Callback to observer about which drive is low on disk space
-    //
-    iObs.HandleLowDiskEvent( iDriveToMonitor );
+    //Check whether the current disk is low on disk space in Mass Storage mode.
+    //    
+    if (IsLowOnDisk())
+        {
+        iObs.HandleLowDiskEvent( iDriveToMonitor );
+        }
     }
 
 // END OF FILE