calendarui/controller/src/calenviewmanager.cpp
branchRCL_3
changeset 18 d68a4b5d5885
parent 16 55d60436f00b
child 20 9c5b1510919f
--- a/calendarui/controller/src/calenviewmanager.cpp	Tue May 11 16:12:24 2010 +0300
+++ b/calendarui/controller/src/calenviewmanager.cpp	Tue May 25 12:41:10 2010 +0300
@@ -540,6 +540,10 @@
                 iPreviousToDayView.iViewUid = KNullUid;
                 }
             RequestActivationL( KUidCalenDayView, KCalenDummyUid, KNullDesC8() );
+            if(iController.IsLaunchFromExternalApp())
+                {
+                iAvoidRepopulation = ETrue;
+                }
             }
             break;
         case ECalenTodoView:
@@ -1797,4 +1801,13 @@
     
     TRACE_EXIT_POINT;
     }
+
+// -----------------------------------------------------------------------------
+// CCalenViewManager::ActivateLocalViewL
+// Activate the local view if application already in back ground
+// -----------------------------------------------------------------------------
+void CCalenViewManager::ActivateLocalViewL(TUid aDefView)
+    {
+    iAppUi.ActivateLocalViewL( aDefView );      
+    }
 // End of file