--- a/logsui/AppSrc/CLogsAppListView.cpp Thu Jul 15 18:22:55 2010 +0300
+++ b/logsui/AppSrc/CLogsAppListView.cpp Thu Aug 19 09:41:07 2010 +0300
@@ -160,6 +160,17 @@
// Just to make sure the inputblocker is not on
RemoveInputBlocker();
+
+ // Avoid the flicking when transfer to foreground from background.
+ if(LogsAppUi()->IsBackground())
+ {
+ iContainer->DrawNow();
+ iEikonEnv->AppUiFactory()->StatusPane()->DrawNow();
+ LogsAppUi()->SetCustomControl(0);
+
+ CCoeEnv * env = CCoeEnv::Static();
+ env->WsSession().SetWindowGroupOrdinalPosition(env->RootWin().Identifier(),0);
+ }
}
// ----------------------------------------------------------------------------
@@ -198,5 +209,17 @@
}
+void CLogsAppListView::ViewActivatedL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,const TDesC8& aCustomMessage)
+ {
+ // To avoid the flicking when transfer to foreground from background,we control the view show manually.
+ if(LogsAppUi()->IsBackground() &&
+ LogsAppUi()->ActiveViewId() != ELogAppListViewId)
+ {
+ LogsAppUi()->SetCustomControl(1);
+ }
+ CLogsBaseView::ViewActivatedL(aPrevViewId,aCustomMessageId,aCustomMessage);
+ }
+
+
// End of File