uiacceltk/hitchcock/ServerCore/Src/alfappsrvsessionBase.cpp
changeset 48 7ced047fb7ae
parent 35 ac76c975c9be
equal deleted inserted replaced
43:95d73125a086 48:7ced047fb7ae
   404 // 
   404 // 
   405 EXPORT_C void CAlfAppSrvSessionBase::SetClientWindowGroupId(TInt aId)
   405 EXPORT_C void CAlfAppSrvSessionBase::SetClientWindowGroupId(TInt aId)
   406     {
   406     {
   407     __ASSERT_DEBUG(iData, USER_INVARIANT());
   407     __ASSERT_DEBUG(iData, USER_INVARIANT());
   408     iData->iClientWindowGroupId = aId;
   408     iData->iClientWindowGroupId = aId;
       
   409 	//Adding this app to goom list - otherwise app like photos will never be killed
   409     if (AlfAppUi()->BridgerClient())
   410     if (AlfAppUi()->BridgerClient())
   410         {
   411         {
   411         AlfAppUi()->BridgerClient()->SendBlind(EAlfVolunteerForGoomTarget, TIpcArgs(iData->iSecureId, iData->iClientWindowGroupId));
   412         AlfAppUi()->BridgerClient()->SendBlind(EAlfVolunteerForGoomTarget, TIpcArgs(iData->iSecureId, iData->iClientWindowGroupId));
   412         }
   413         }
   413     }
   414     }
  1138                 }
  1139                 }
  1139             }
  1140             }
  1140         CleanupStack::PopAndDestroy();
  1141         CleanupStack::PopAndDestroy();
  1141         }
  1142         }
  1142     }
  1143     }
       
  1144     
       
  1145 TUint CAlfAppSrvSessionBase::SecureId()
       
  1146     {
       
  1147     if (iData)
       
  1148         {
       
  1149         return iData->iSecureId;
       
  1150         }
       
  1151     return 0;
       
  1152     }            
  1143    
  1153    
  1144 // End of file    
  1154 // End of file    
  1145 
  1155