mpxmusicplayer/app/src/mpxcontroller.cpp
changeset 5 2a40e88564c8
parent 0 ff3acec5bc43
child 40 cb96c29156b2
--- a/mpxmusicplayer/app/src/mpxcontroller.cpp	Tue Jan 26 11:56:33 2010 +0200
+++ b/mpxmusicplayer/app/src/mpxcontroller.cpp	Tue Feb 02 00:09:33 2010 +0200
@@ -682,6 +682,12 @@
             }
         case EMcMsgUSBMassStorageStart:
             {
+            //Sometimes, this message will be received more than 1 time with usb plugin once.
+            //Just handle the first one. And only this message has such abnormal behaviour.
+            if ( iCurSystemEvent == EMcMsgUSBMassStorageStart )
+                {                
+                break;
+                }
             MPX_DEBUG1("CMPXController::DoHandleBroadcastMsg - EMcMsgUSBMassStorageStart");
             
             // Close playback framework and start wait note