diff -r 878846f7623e -r 625e74332ce2 usbengines/usbwatcher/src/cusbactivepersonalityhandler.cpp --- a/usbengines/usbwatcher/src/cusbactivepersonalityhandler.cpp Sat Apr 24 00:13:51 2010 +0300 +++ b/usbengines/usbwatcher/src/cusbactivepersonalityhandler.cpp Sat Apr 24 00:30:15 2010 +0300 @@ -317,12 +317,21 @@ LOG2("Returned error: %d, iState: %d", aError, iState); - if (KErrNoMemory == aError) + switch ( aError ) { - iQueryParams().iQuery = EUSBNotEnoughRam; - iPersonalityParams->PersonalityNotifier().ShowQuery(KQueriesNotifier, - iQueryParams, iDummyBuf); - } + case KErrNoMemory: + iQueryParams().iQuery = EUSBNotEnoughRam; + iPersonalityParams->PersonalityNotifier().ShowQuery(KQueriesNotifier, + iQueryParams, iDummyBuf); + break; + case KErrDiskFull: + iQueryParams().iQuery = EUSBDiskFull; + iPersonalityParams->PersonalityNotifier().ShowQuery(KQueriesNotifier, + iQueryParams, iDummyBuf); + break; + default: + LOG( "Ignored" ); + } //only handle error when TryStart fails now //clean up work to be done in the personality