usbengines/usbwatcher/src/cusbactivepersonalityhandler.cpp
branchRCL_3
changeset 24 e02eb84a14d2
parent 23 25fce757be94
equal deleted inserted replaced
23:25fce757be94 24:e02eb84a14d2
   266     LOG_FUNC
   266     LOG_FUNC
   267 
   267 
   268     iDeviceState = aStateNew;        
   268     iDeviceState = aStateNew;        
   269     switch ( aStateNew )
   269     switch ( aStateNew )
   270         {
   270         {
   271         case EUsbDeviceStateConfigured:
   271         case EUsbDeviceStateAddress:
   272             {
   272             {
   273             if ((aStateOld != EUsbDeviceStateSuspended) && (ESwStateCharging
   273             if ((aStateOld != EUsbDeviceStateSuspended) && (aStateOld
       
   274                     != EUsbDeviceStateConfigured) && (ESwStateCharging
   274                     != CUsbGlobalSystemStateObserver::GlobalSystemState()))
   275                     != CUsbGlobalSystemStateObserver::GlobalSystemState()))
   275                 {
   276                 {
   276                 iPersonalityParams->PersonalityNotifier().ShowQuery(
   277                 iPersonalityParams->PersonalityNotifier().ShowQuery(
   277                         KCableConnectedNotifierUid, iDummy,
   278                         KCableConnectedNotifierUid, iDummy,
   278                         iPersonalityPckgBuf);
   279                         iPersonalityPckgBuf);