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