--- a/src/hbfeedback/player/hbfeedbackplayer_symbian.cpp Mon Oct 04 17:49:30 2010 +0300
+++ b/src/hbfeedback/player/hbfeedbackplayer_symbian.cpp Mon Oct 18 18:23:13 2010 +0300
@@ -58,7 +58,7 @@
inline TTacticonType convertTacticonToSymbian(HbFeedback::InstantEffect effect);
inline TTouchContinuousFeedback convertToSymbian(HbFeedback::ContinuousEffect effect);
inline TTouchFeedbackType convertToSymbian(HbFeedback::Modalities modalities);
-
+
public:
MTouchFeedback *iFeedback;
RTacticon iTacticon;
@@ -184,7 +184,7 @@
case HbFeedback::BasicKeypad:
instantFeedbackSymbian = ETouchFeedbackBasicKeypad;
break;
- case HbFeedback::MultitouchActivate:
+ case HbFeedback::AdvancedGestureActivate:
instantFeedbackSymbian = ETouchFeedbackMultitouchActivate;
break;
case HbFeedback::RotateStep:
@@ -300,7 +300,10 @@
HbFeedbackBasePlayer::~HbFeedbackBasePlayer() {
- cancelContinuousFeedbacks();
+ // This implementation expects the platform to stop the feedback on application exit.
+ // At this point the winId might not point to an active window, so cancelling
+ // the ongoing continuous feedbacks could lead to application crash.
+ d->ongoingContinuousFeedbacks.clear();
delete d;
}