diff -r fcdfafb36fe7 -r aecbbf00d063 uifw/AknGlobalUI/OldStyleNotif/Src/AknSystemPopup.cpp --- a/uifw/AknGlobalUI/OldStyleNotif/Src/AknSystemPopup.cpp Thu Aug 19 10:11:06 2010 +0300 +++ b/uifw/AknGlobalUI/OldStyleNotif/Src/AknSystemPopup.cpp Tue Aug 31 15:28:30 2010 +0300 @@ -49,7 +49,7 @@ #include #include -#include +#include #include #include #include "GlobalWindowPriorities.h" @@ -766,13 +766,12 @@ void CAknGlobalNoteDialog::HandlePointerEventL(const TPointerEvent& aPointerEvent) { - if (aPointerEvent.iType == TPointerEvent::EButton1Down) + if(aPointerEvent.iType == TPointerEvent::EButton1Down) { iCaptured = ETrue; } - if (Rect().Contains(aPointerEvent.iPosition) && (aPointerEvent.iType == TPointerEvent::EButton1Up) - && iIsAlarm && iCaptured) + && iIsAlarm) { if (!iIsAlarmWakeup) { @@ -789,10 +788,12 @@ { CAknStaticNoteDialog::HandlePointerEventL(aPointerEvent); } - if (aPointerEvent.iType == TPointerEvent::EButton1Up) + + if(aPointerEvent.iType == TPointerEvent::EButton1Up) { iCaptured = EFalse; } + } // class CAknGlobalNoteSubject @@ -1454,7 +1455,7 @@ void CAknGlobalNoteSubject::TryDisplayNextNoteL(TBool aShowAsynch) { - if ( !iGlobalNoteList || iGlobalNoteList->Count() == 0 ) + if ( iGlobalNoteList && iGlobalNoteList->Count() == 0 ) { return; }