devsound/a3fdevsound/src/devsoundadaptor/cdevaudiocontrol.cpp
changeset 13 efebd1779a59
parent 0 40261b775718
child 15 c1e808730d6c
--- a/devsound/a3fdevsound/src/devsoundadaptor/cdevaudiocontrol.cpp	Tue Feb 02 01:56:55 2010 +0200
+++ b/devsound/a3fdevsound/src/devsoundadaptor/cdevaudiocontrol.cpp	Fri Apr 16 16:34:49 2010 +0300
@@ -937,7 +937,15 @@
 
 	if (aEvent == KUidA3FContextUpdateComplete)
 		{
-		iAdaptationObserver->AsynchronousOperationComplete(aError, ETrue);
+	    if(iIgnoreAsyncOpComplete)
+			{
+            iAdaptationObserver->PreemptionFinishedCallbackReceived(ETrue);
+		    iIgnoreAsyncOpComplete = EFalse;
+   	    	}
+        else
+            {
+            iAdaptationObserver->AsynchronousOperationComplete(aError, ETrue);
+           	}
 		}
 	else if(aEvent == KUidA3FContextPreEmption || aEvent == KUidA3FContextPreEmptedCommit)
 		{