coreapplicationuis/SysAp/Src/SysApAppUi.cpp
branchRCL_3
changeset 6 a72ff4214918
parent 5 5964140ed25a
child 7 fc3225a0ab43
--- a/coreapplicationuis/SysAp/Src/SysApAppUi.cpp	Wed Apr 14 16:08:26 2010 +0300
+++ b/coreapplicationuis/SysAp/Src/SysApAppUi.cpp	Tue Apr 27 16:49:15 2010 +0300
@@ -1685,7 +1685,8 @@
     else if ( aValue == EChargingStatusNotConnected )
         {
         TRACES( RDebug::Print( _L("SysAp: charger removed") ) );
-        iSysApLightsController->ChargerConnectedL( EFalse );
+        iSysApLightsController->ChargerConnectedL( EFalse );    
+        iSysApUsbChargerDetector.Reset();
         
         if ( !iSysApUsbChargerDetector.HostOnlyUsbChargingUsed() &&
              iSysApFeatureManager->Supported( KSysApFeatureIdChargerReminderNotes ) )
@@ -1695,7 +1696,6 @@
                 ShowUiNoteL( EUnplugChargerNote );
                 }
             }
-        iSysApUsbChargerDetector.Reset();
         }
     else if ( aValue == EChargingStatusNotCharging )
         {