diff -r e84fb4c9218b -r ef2686f7597e usbengines/usbotgwatcher/src/cusbnotenotifier.cpp --- a/usbengines/usbotgwatcher/src/cusbnotenotifier.cpp Mon Jun 21 22:40:15 2010 +0100 +++ b/usbengines/usbotgwatcher/src/cusbnotenotifier.cpp Thu Jul 22 16:44:03 2010 +0100 @@ -130,14 +130,15 @@ LOG1( "iStatus = %d" , iStatus.Int()); - // if error occured, deal with it in RunError - LEAVEIFERROR(iStatus.Int()); + // if iStatus contains some other than KErrNone code + // do not perform any special actions, + // just forward the error code to caller iNotifier.CancelNotifier(iUsbNoteNotifier.iCat); // report to owner that show is over iUsbNoteNotifier.iNotifManager.NotifierShowCompletedL(iUsbNoteNotifier, - KErrNone, iRes()); + iStatus.Int(), iRes()); } // --------------------------------------------------------------------------- @@ -159,8 +160,6 @@ LOG1("aError = %d" , aError); - iNotifier.CancelNotifier(iUsbNoteNotifier.iCat); - // try to continue return KErrNone; }