--- a/uifw/AvKon/src/AknSettingPage.cpp Wed Apr 14 16:14:00 2010 +0300
+++ b/uifw/AvKon/src/AknSettingPage.cpp Tue Apr 27 16:55:05 2010 +0300
@@ -1357,24 +1357,6 @@
*/
EXPORT_C void CAknSettingPage::AttemptExitL(TBool aAccept)
{
- if ( AknLayoutUtils::PenEnabled() )
- {
- MTouchFeedback* feedback = MTouchFeedback::Instance();
- if ( feedback )
- {
- TTouchLogicalFeedback fbLogicalType = ETouchFeedbackPopUp;
- if ( CAknTransitionUtils::TransitionsEnabled(
- AknTransEffect::EComponentTransitionsOff ) )
- {
- fbLogicalType = ETouchFeedbackDecreasingPopUp;
- }
- feedback->InstantFeedback(
- this,
- fbLogicalType,
- ETouchFeedbackVibra,
- TPointerEvent() );
- }
- }
if ( OkToExitL( aAccept ) )
{
DismissL( aAccept );
@@ -1409,6 +1391,25 @@
*/
EXPORT_C void CAknSettingPage::DismissL(TBool aAccept)
{
+ if ( AknLayoutUtils::PenEnabled() )
+ {
+ MTouchFeedback* feedback = MTouchFeedback::Instance();
+ if ( feedback )
+ {
+ TTouchLogicalFeedback fbLogicalType = ETouchFeedbackPopUp;
+ if ( CAknTransitionUtils::TransitionsEnabled(
+ AknTransEffect::EComponentTransitionsOff ) )
+ {
+ fbLogicalType = ETouchFeedbackDecreasingPopUp;
+ }
+ feedback->InstantFeedback(
+ this,
+ fbLogicalType,
+ ETouchFeedbackVibra,
+ TPointerEvent() );
+ }
+ }
+
AknItemActionMenuRegister::SetOverridingMenuBarOwnerL( NULL );
if ( aAccept )