uifw/AvKon/src/aknsgcc.cpp
branchRCL_3
changeset 55 aecbbf00d063
parent 51 fcdfafb36fe7
child 56 d48ab3b357f1
--- a/uifw/AvKon/src/aknsgcc.cpp	Thu Aug 19 10:11:06 2010 +0300
+++ b/uifw/AvKon/src/aknsgcc.cpp	Tue Aug 31 15:28:30 2010 +0300
@@ -46,8 +46,7 @@
 	EHandlingChange,
 	EInAknSrv,
 	ESystemFaded,
-	ENeverRelinquish,
-	EUseForegroundPriority
+	ENeverRelinquish
 	};
 
 
@@ -619,11 +618,11 @@
 	RThread myThread;
 	TProcessPriority priority = myThread.ProcessPriority();
 
-	if ( IsSystemFaded() || iFlags[EUseForegroundPriority] )
+	if( IsSystemFaded() )
 		{
+		// Solution for EKKG-7RQ9U8:
 		// If the system is faded we have a popup on screen.
-		// Get the process behind the foreground process, the
-	    // EUseForegroundPriority should also affect only that process. 
+		// Get the process behind the foreground process. 
 		TApaTask task = TApaTaskList(iEikonEnv->WsSession()).FindByPos(1);
 
 		// Check if this application is next behind the foreground app.
@@ -658,23 +657,6 @@
 	    }
 	}
 
-void CAknSgcClient::UseForegroundPriorityDuringRelinquish(
-    TBool aUseForeground )
-    {
-    CAknSgcClient* self = Static();
-    if ( self )
-        {
-        if ( aUseForeground )
-            {
-            self->iFlags.Set( EUseForegroundPriority );
-            }
-        else
-            {
-            self->iFlags.Clear( EUseForegroundPriority );
-            }
-        }
-    }
-
 EXPORT_C CAknLayoutConfig& CAknSgcClient::LayoutConfig()
 	{
 	CAknSgcClient* self = Static();