contextframework/cfwplugins/ApplicationStateSourcePlugIn/src/ApplicationStateSourcePlugin.cpp
branchRCL_3
changeset 57 5e7d68cc22e0
parent 13 096dad6e50a9
child 62 924385140d98
--- a/contextframework/cfwplugins/ApplicationStateSourcePlugIn/src/ApplicationStateSourcePlugin.cpp	Mon Jun 21 15:51:07 2010 +0300
+++ b/contextframework/cfwplugins/ApplicationStateSourcePlugIn/src/ApplicationStateSourcePlugin.cpp	Thu Jul 15 18:49:38 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). 
+* Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). 
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -452,8 +452,8 @@
         if ( !fgFound && aEvent.iViewOneId.iAppUid == appSettings->Uid() )
             {
             fgApp.Set( appSettings->Name() );
-            appSettings->GetViewName( aEvent.iViewOneId.iViewUid, fgView );
-            fgFound = ETrue;
+            //Check for flag returned by GetViewName, don't directly set the Flag to ETrue
+            fgFound = appSettings->GetViewName( aEvent.iViewOneId.iViewUid, fgView );
             }
         if ( !bgFound && aEvent.iViewTwoId.iAppUid == appSettings->Uid() )
             {