mtpfws/mtpfw/src/cmtpdataprovidercontroller.cpp
changeset 18 1b39655331a3
parent 17 aabe5387f5ce
child 20 6e82ae192c3a
--- a/mtpfws/mtpfw/src/cmtpdataprovidercontroller.cpp	Fri Mar 19 09:40:39 2010 +0200
+++ b/mtpfws/mtpfw/src/cmtpdataprovidercontroller.cpp	Fri Apr 16 15:51:48 2010 +0300
@@ -281,6 +281,13 @@
                 {
                 dp->Plugin().ProcessNotificationL(aNotification, aParams);
                 }
+            
+            //DeviceDP need handle the SessionClose Notification
+            if ((dp->DataProviderId() == iDpIdDeviceDp) &&
+                ( EMTPSessionClosed == aNotification))
+                {
+                dp->Plugin().ProcessNotificationL(aNotification, aParams);
+                }            
             }
         }
     else