mtpfws/mtpfw/src/cmtpdataprovidercontroller.cpp
branchRCL_3
changeset 12 8b094906a049
parent 11 4843bb5893b6
child 14 60a94a45d437
equal deleted inserted replaced
11:4843bb5893b6 12:8b094906a049
   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)