equal
deleted
inserted
replaced
67 #include <akntranseffect.h> // for Transition effect enumerations |
67 #include <akntranseffect.h> // for Transition effect enumerations |
68 #include <aknlayoutscalable_avkon.cdl.h> |
68 #include <aknlayoutscalable_avkon.cdl.h> |
69 #include <gfxtranseffect/gfxtranseffect.h> |
69 #include <gfxtranseffect/gfxtranseffect.h> |
70 |
70 |
71 #include <aknSDData.h> |
71 #include <aknSDData.h> |
72 #include <SecondaryDisplay/AknSecondaryDisplayDefs.h> |
72 #include <secondarydisplay/AknSecondaryDisplayDefs.h> |
73 #include <startupdomainpskeys.h> |
73 #include <startupdomainpskeys.h> |
74 |
74 |
75 #include "transitionmanager.h" |
75 #include "transitionmanager.h" |
76 #include <PtiEngine.h> |
76 #include <PtiEngine.h> |
77 #include <PtiKeyMappings.h> |
77 #include <PtiKeyMappings.h> |
1807 iAvkonEnv->CloseAllIntermediateStates(); |
1807 iAvkonEnv->CloseAllIntermediateStates(); |
1808 } |
1808 } |
1809 |
1809 |
1810 EXPORT_C void CAknAppUi::PrepareToExit() |
1810 EXPORT_C void CAknAppUi::PrepareToExit() |
1811 { |
1811 { |
|
1812 // Hide application toolbar to prevent it from showing |
|
1813 // after views are deleted |
|
1814 if ( CurrentFixedToolbar() ) |
|
1815 { |
|
1816 CurrentFixedToolbar()->SetToolbarVisibility( EFalse ); |
|
1817 } |
1812 if( IsForeground() && Document() ) |
1818 if( IsForeground() && Document() ) |
1813 { |
1819 { |
1814 //only if focused, otherwise next app HandleForeground may never come. |
1820 //only if focused, otherwise next app HandleForeground may never come. |
1815 iAvkonEnv->TransitionEvent(AknTransEffect::EApplicationExit, Application()->AppDllUid()); |
1821 iAvkonEnv->TransitionEvent(AknTransEffect::EApplicationExit, Application()->AppDllUid()); |
1816 } |
1822 } |