uifw/AknGlobalUI/AknCapServer/src/AknCapServerShutdown.cpp
branchRCL_3
changeset 18 0aa5fbdfbc30
parent 9 aabf2c525e0f
child 55 aecbbf00d063
equal deleted inserted replaced
16:71dd06cfe933 18:0aa5fbdfbc30
   110       TBool isHidden = doomed->Hidden();
   110       TBool isHidden = doomed->Hidden();
   111 #endif // _DEBUG
   111 #endif // _DEBUG
   112       // This UID comes from the app, not the mmp!
   112       // This UID comes from the app, not the mmp!
   113       TUid uid = doomed->AppUid(); 
   113       TUid uid = doomed->AppUid(); 
   114       iWs.GetWindowGroupClientThreadId(wgIds->At(ii), threadId);
   114       iWs.GetWindowGroupClientThreadId(wgIds->At(ii), threadId);
   115       thd.Open(threadId);  
   115       TInt error = thd.Open(threadId);  
   116 	  CleanupClosePushL( thd );
   116 	  CleanupClosePushL( thd );
   117 
   117 
   118       // Is this app OK to kill? We don't kill the this app, EikSrv backdrop or the app that 
   118       // Is this app OK to kill? We don't kill the this app, EikSrv backdrop or the app that 
   119       // instigated the shutdown.
   119       // instigated the shutdown.
   120       if ((uid != aRequesterUID) && ( uid != KCapServerUid ) && ( uid != KFepSwitchWGId ) && 
   120       if ((uid != aRequesterUID) && ( uid != KCapServerUid ) && ( uid != KFepSwitchWGId ) &&