uifw/AknGlobalUI/AknCapServer/src/AknCapServerShutdown.cpp
branchRCL_3
changeset 9 aabf2c525e0f
parent 0 2f259fa3e83a
child 18 0aa5fbdfbc30
equal deleted inserted replaced
4:8ca85d2f0db7 9:aabf2c525e0f
   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 ) && 
   121              ( doomed->Caption() != EIKON_SERVER_BACKDROP_WINDOW_GROUP_NAME ) &&
   121              ( doomed->Caption() != EIKON_SERVER_BACKDROP_WINDOW_GROUP_NAME ) &&
   122 			  !IsSystemCriticalThread( thd ) )  
   122 			  !IsSystemCriticalThread( thd ) && (!doomed->IsSystem()) && (uid.iUid != 0))
   123          {
   123          {
   124          TApaTask* harbingerOfDoom = new (ELeave) TApaTask(iWs);
   124          TApaTask* harbingerOfDoom = new (ELeave) TApaTask(iWs);
   125          CleanupDeletePushL(harbingerOfDoom);
   125          CleanupDeletePushL(harbingerOfDoom);
   126          harbingerOfDoom->SetWgId(wgIds->At(ii));
   126          harbingerOfDoom->SetWgId(wgIds->At(ii));
   127                 
   127