--- a/mmsharing/mmshengine/tsrc/ut_engine/src/musengstubs.cpp Fri Mar 12 15:42:21 2010 +0200
+++ b/mmsharing/mmshengine/tsrc/ut_engine/src/musengstubs.cpp Mon Mar 15 12:40:08 2010 +0200
@@ -395,7 +395,14 @@
return iAudioRouteChangeAllowed;
}
-
+// -----------------------------------------------------------------------------
+//
+// -----------------------------------------------------------------------------
+//
+void CMusEngObserverStub::VolumeChanged( TInt aVolume, TBool /*aAudioRouteChanged*/ )
+ {
+ iVolume = aVolume;
+ }
// ----- HELPERS ---------------------------------------------------------------
@@ -439,7 +446,8 @@
!iSessionTemporarilyNotAvailable &&
!iIncomingSessionOriginator &&
!iShowNote &&
- iAudioRouteChangeAllowed );
+ iAudioRouteChangeAllowed &&
+ !iVolume );
}
// -----------------------------------------------------------------------------
@@ -483,6 +491,7 @@
iIncomingSessionOriginator = NULL;
iShowNote = EFalse;
iAudioRouteChangeAllowed = ETrue;
+ iVolume = 0;
}