--- 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 )
{