diff -r 85902f042028 -r a5e7a4f63858 uifw/AvKon/src/aknsgcc.cpp --- a/uifw/AvKon/src/aknsgcc.cpp Wed Sep 15 12:29:17 2010 +0300 +++ b/uifw/AvKon/src/aknsgcc.cpp Wed Oct 13 14:50:15 2010 +0300 @@ -46,8 +46,7 @@ EHandlingChange, EInAknSrv, ESystemFaded, - ENeverRelinquish, - EUseForegroundPriority + ENeverRelinquish }; @@ -80,12 +79,8 @@ inline CAknSgcClient* CAknSgcClient::Static() - { - if (CCoeEnv::Static()) - return static_cast(CCoeEnv::Static(KAknSgcClientStaticId)); - else - return NULL; - } + { return static_cast(CCoeEnv::Static(KAknSgcClientStaticId)); } + NONSHARABLE_CLASS(TSgcClientStatusPaneRedrawCoordinator) : public MAknSgcStatusPaneRedrawCoordinator @@ -623,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. @@ -662,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();