--- a/uifw/AknGlobalUI/OldStyleNotif/Src/AknSystemPopup.cpp Tue Feb 02 01:00:49 2010 +0200
+++ b/uifw/AknGlobalUI/OldStyleNotif/Src/AknSystemPopup.cpp Fri Apr 16 15:13:44 2010 +0300
@@ -766,6 +766,10 @@
void CAknGlobalNoteDialog::HandlePointerEventL(const TPointerEvent& aPointerEvent)
{
+ if(aPointerEvent.iType == TPointerEvent::EButton1Down)
+ {
+ iCaptured = ETrue;
+ }
if (Rect().Contains(aPointerEvent.iPosition) && (aPointerEvent.iType == TPointerEvent::EButton1Up)
&& iIsAlarm)
{
@@ -776,7 +780,7 @@
}
else if ((iSoftkeys == R_AVKON_SOFTKEYS_EMPTY) &&
(iTimeoutInMicroseconds != ENoTimeout) &&
- (aPointerEvent.iType == TPointerEvent::EButton1Up))
+ (aPointerEvent.iType == TPointerEvent::EButton1Up)&& iCaptured)
{
CEikDialog::TryExitL(EAknSoftkeyExit);
}
@@ -784,6 +788,12 @@
{
CAknStaticNoteDialog::HandlePointerEventL(aPointerEvent);
}
+
+ if(aPointerEvent.iType == TPointerEvent::EButton1Up)
+ {
+ iCaptured = EFalse;
+ }
+
}
// class CAknGlobalNoteSubject