equal
deleted
inserted
replaced
212 { |
212 { |
213 //fix for the error ECWG-7WDA9G,if we found the first windows is "lockphone" dialog we will terminate the App. |
213 //fix for the error ECWG-7WDA9G,if we found the first windows is "lockphone" dialog we will terminate the App. |
214 TBool islock = EFalse; |
214 TBool islock = EFalse; |
215 RWsSession &ws = CCoeEnv::Static()->WsSession(); |
215 RWsSession &ws = CCoeEnv::Static()->WsSession(); |
216 TInt wgId = ws.GetFocusWindowGroup(); |
216 TInt wgId = ws.GetFocusWindowGroup(); |
217 CApaWindowGroupName *WindowsGroupName = CApaWindowGroupName::NewL( ws, wgId ); |
217 CApaWindowGroupName *WindowsGroupName = CApaWindowGroupName::NewLC( ws, wgId ); |
218 if ( ( KAknnfysrvUid == WindowsGroupName->AppUid() ) && |
218 if ( ( KAknnfysrvUid == WindowsGroupName->AppUid() ) && |
219 ( ws.GetWindowGroupOrdinalPriority( wgId ) >= ECoeWinPriorityAlwaysAtFront ) ) |
219 ( ws.GetWindowGroupOrdinalPriority( wgId ) >= ECoeWinPriorityAlwaysAtFront ) ) |
220 { |
220 { |
221 islock = ETrue; |
221 islock = ETrue; |
222 } |
222 } |
|
223 CleanupStack::PopAndDestroy( WindowsGroupName ); |
223 return islock; |
224 return islock; |
224 } |
225 } |
225 |
226 |
226 // End of File |
227 // End of File |
227 |
228 |