equal
deleted
inserted
replaced
500 { |
500 { |
501 iGOomWindowGroupList->SetPriorityBusy(WgIdList[i]); |
501 iGOomWindowGroupList->SetPriorityBusy(WgIdList[i]); |
502 if(iGOomActionList->IsRunningKillAppActions()) //this may be too late as killing of apps has already begun, but we might still be able to save the app |
502 if(iGOomActionList->IsRunningKillAppActions()) //this may be too late as killing of apps has already begun, but we might still be able to save the app |
503 AppClosePriorityChanged(WgIdList[i], RGOomMonitorSession::EGOomPriorityBusy); |
503 AppClosePriorityChanged(WgIdList[i], RGOomMonitorSession::EGOomPriorityBusy); |
504 } |
504 } |
|
505 WgIdList.Close(); |
505 } |
506 } |
506 |
507 |
507 void CMemoryMonitor::SetPriorityNormal(TInt aWgId) |
508 void CMemoryMonitor::SetPriorityNormal(TInt aWgId) |
508 { |
509 { |
509 FUNC_LOG; |
510 FUNC_LOG; |
517 { |
518 { |
518 iGOomWindowGroupList->SetPriorityNormal(WgIdList[i]); |
519 iGOomWindowGroupList->SetPriorityNormal(WgIdList[i]); |
519 if(iGOomActionList->IsRunningKillAppActions()) |
520 if(iGOomActionList->IsRunningKillAppActions()) |
520 AppClosePriorityChanged(WgIdList[i], RGOomMonitorSession::EGOomPriorityNormal); |
521 AppClosePriorityChanged(WgIdList[i], RGOomMonitorSession::EGOomPriorityNormal); |
521 } |
522 } |
|
523 WgIdList.Close(); |
522 } |
524 } |
523 |
525 |
524 void CMemoryMonitor::SetPriorityHigh(TInt aWgId) |
526 void CMemoryMonitor::SetPriorityHigh(TInt aWgId) |
525 { |
527 { |
526 FUNC_LOG; |
528 FUNC_LOG; |
534 { |
536 { |
535 iGOomWindowGroupList->SetPriorityHigh(WgIdList[i]); |
537 iGOomWindowGroupList->SetPriorityHigh(WgIdList[i]); |
536 if(iGOomActionList->IsRunningKillAppActions()) |
538 if(iGOomActionList->IsRunningKillAppActions()) |
537 AppClosePriorityChanged(WgIdList[i], RGOomMonitorSession::EGOomPriorityHigh); |
539 AppClosePriorityChanged(WgIdList[i], RGOomMonitorSession::EGOomPriorityHigh); |
538 } |
540 } |
|
541 WgIdList.Close(); |
539 } |
542 } |
540 |
543 |
541 TInt CMemoryMonitor::GetFreeMemory() |
544 TInt CMemoryMonitor::GetFreeMemory() |
542 { |
545 { |
543 FUNC_LOG; |
546 FUNC_LOG; |