diff -r 0f07cd1b5772 -r 1984aceb8774 calendarui/controller/src/calenstate.cpp --- a/calendarui/controller/src/calenstate.cpp Mon Mar 15 12:40:18 2010 +0200 +++ b/calendarui/controller/src/calenstate.cpp Wed Mar 31 21:29:10 2010 +0300 @@ -128,9 +128,11 @@ case ECalenNotifyAppBackgrounded: { CCalenStateMachine::TCalenStateIndex cachedState = aStateMachine.GetCurrentState(); - if(cachedState != CCalenStateMachine::ECalenMapState) // Never send calendar to background state in MapState as maps will - // launched in cahin mode not in stand alone mode - { + // Never send calendar to background state in MapState as maps will + // launched in cahin mode not in stand alone mode + if((cachedState != CCalenStateMachine::ECalenMapState) && + (cachedState != CCalenStateMachine::ECalenPopulationState)) + { aStateMachine.SetCurrentState(CCalenStateMachine::ECalenBackgroundState); aStateMachine.SetCurrentPreviousState(cachedState); iOutstandingNotifications.InsertL(aNotification);