mtpfws/mtpfw/src/cmtpdataprovidercontroller.cpp
changeset 18 1b39655331a3
parent 17 aabe5387f5ce
child 20 6e82ae192c3a
equal deleted inserted replaced
17:aabe5387f5ce 18:1b39655331a3
   279             if ((dp->DataProviderId() != iDpIdDeviceDp) &&
   279             if ((dp->DataProviderId() != iDpIdDeviceDp) &&
   280                 (dp->DataProviderId() != iDpIdProxyDp))
   280                 (dp->DataProviderId() != iDpIdProxyDp))
   281                 {
   281                 {
   282                 dp->Plugin().ProcessNotificationL(aNotification, aParams);
   282                 dp->Plugin().ProcessNotificationL(aNotification, aParams);
   283                 }
   283                 }
       
   284             
       
   285             //DeviceDP need handle the SessionClose Notification
       
   286             if ((dp->DataProviderId() == iDpIdDeviceDp) &&
       
   287                 ( EMTPSessionClosed == aNotification))
       
   288                 {
       
   289                 dp->Plugin().ProcessNotificationL(aNotification, aParams);
       
   290                 }            
   284             }
   291             }
   285         }
   292         }
   286     else
   293     else
   287         {
   294         {
   288         for (TUint i(0); i < KLoadedDps; ++i)
   295         for (TUint i(0); i < KLoadedDps; ++i)