--- a/uiacceltk/hitchcock/goommonitor/src/goommemorymonitor.cpp Wed Apr 14 16:53:50 2010 +0300
+++ b/uiacceltk/hitchcock/goommonitor/src/goommemorymonitor.cpp Tue Apr 27 17:34:42 2010 +0300
@@ -282,9 +282,12 @@
iGOomActionList->MemoryGood();
}
*/
- iServer->CloseAppsFinished(freeMemory, ETrue);
- WaitAndSynchroniseMemoryState();
- return;
+ if(!iGOomActionList->UseSwRendering())
+ {
+ iServer->CloseAppsFinished(freeMemory, ETrue);
+ WaitAndSynchroniseMemoryState();
+ return;
+ }
}
// update wg list only when actually about to use it
@@ -478,7 +481,10 @@
iCurrentTarget = aTarget;
iGOomActionList->SetCurrentTarget(iCurrentTarget);
if(!aTarget)
+ {
iTrigger = EGOomTriggerNone; //reset the trigger condition
+ }
+ iGOomActionList->SetUseSwRendering(EFalse);
}
void CMemoryMonitor::SetPriorityBusy(TInt aWgId)