diff -r d48ab3b357f1 -r 978afdc0236f uifw/ganes/src/HgVgMediaWall.cpp --- a/uifw/ganes/src/HgVgMediaWall.cpp Wed Sep 01 12:16:19 2010 +0100 +++ b/uifw/ganes/src/HgVgMediaWall.cpp Tue Sep 14 21:48:24 2010 +0300 @@ -230,7 +230,12 @@ // EXPORT_C TInt CHgVgMediaWall::SelectedIndex() { - return iSelectedIndex * iRowCount; + // iObserverNotified flag is set on when animation is about to end and + // observer is notified from the selected index. + return ((iAnimationState == EHgVgMediaWallAnimationStateTransition || + iAnimationState == EHgVgMediaWallAnimationStateFastTransition) && + !iObserverNotified) ? + KErrNotFound : iSelectedIndex * iRowCount; } // ----------------------------------------------------------------------------- @@ -343,6 +348,9 @@ iPopupText1.Close(); iPopupText2.Close(); + // Just to be safe, this will release all resource, eventhought + // they should be already released at this point. + eglReleaseThread(); } // -----------------------------------------------------------------------------