diff -r 356f28cd5ca0 -r ed599363c2d7 clock2/clockui/adtupdater/src/adtupdaterappui.cpp --- a/clock2/clockui/adtupdater/src/adtupdaterappui.cpp Wed Sep 15 12:11:35 2010 +0300 +++ b/clock2/clockui/adtupdater/src/adtupdaterappui.cpp Wed Oct 13 14:30:35 2010 +0300 @@ -28,10 +28,6 @@ const TInt KOrdinalPosition( 0 ); const TInt KOrdinalPriority( 0 ); -// Uid of phoneapp -const TUid KPhoneUid = {0x100058B3}; - - // Literals // --------------------------------------------------------- @@ -168,30 +164,6 @@ } // --------------------------------------------------------- -// CAdtUpdaterAppUi::IsHighPriorityWindowActive -// rest of the details are commented in the header -// --------------------------------------------------------- -// -TBool CAdtUpdaterAppUi::IsHighPriorityWindowActive() - { - __PRINTS( "CCAdtUpdaterAppUi::IsHighPriorityWindowActive - Entry" ); - // Gets the window group id of the app coming in foreground - TInt activeWgId = iCoeEnv->WsSession().GetFocusWindowGroup(); - TApaTaskList taskList(iCoeEnv->WsSession()); - - //In future, if any other high priority window will be there, then - //add that particular UID in the below check. - //Note: Key Lock and alarm are not handled here as these windows already - //have high priority than CDT. In callui window group, the window - when - //call is answered, has a low priority, that's why callui is handled here. - __PRINTS( "CCAdtUpdaterAppUi::IsHighPriorityWindowActive - Exit" ); - if(activeWgId == taskList.FindApp(KPhoneUid).WgId()) - { - return ETrue; - } - return EFalse; - } -// --------------------------------------------------------- // CAdtUpdaterAppUi::ToggleAppViewL // rest of the details are commented in the header // ---------------------------------------------------------