diff -r f6533aee8b2b -r d895b6d953c9 usbengines/usbotgwatcher/src/cusbnotenotifier.cpp --- a/usbengines/usbotgwatcher/src/cusbnotenotifier.cpp Tue Apr 27 17:41:29 2010 +0300 +++ b/usbengines/usbotgwatcher/src/cusbnotenotifier.cpp Tue May 25 13:47:46 2010 +0300 @@ -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; }