equal
deleted
inserted
replaced
935 DP_CONTEXT(CDevAudioControl::ContextEvent *CD1*, CtxDevSound, DPLOCAL); |
935 DP_CONTEXT(CDevAudioControl::ContextEvent *CD1*, CtxDevSound, DPLOCAL); |
936 DP_IN(); |
936 DP_IN(); |
937 |
937 |
938 if (aEvent == KUidA3FContextUpdateComplete) |
938 if (aEvent == KUidA3FContextUpdateComplete) |
939 { |
939 { |
940 iAdaptationObserver->AsynchronousOperationComplete(aError, ETrue); |
940 if(iIgnoreAsyncOpComplete) |
|
941 { |
|
942 iAdaptationObserver->PreemptionFinishedCallbackReceived(ETrue); |
|
943 iIgnoreAsyncOpComplete = EFalse; |
|
944 } |
|
945 else |
|
946 { |
|
947 iAdaptationObserver->AsynchronousOperationComplete(aError, ETrue); |
|
948 } |
941 } |
949 } |
942 else if(aEvent == KUidA3FContextPreEmption || aEvent == KUidA3FContextPreEmptedCommit) |
950 else if(aEvent == KUidA3FContextPreEmption || aEvent == KUidA3FContextPreEmptedCommit) |
943 { |
951 { |
944 |
952 |
945 //Preemption during the below states should complete invoke AsynOperationComplete |
953 //Preemption during the below states should complete invoke AsynOperationComplete |