--- a/emailservices/emailserver/cmailhandlerplugin/src/emailsoundhandler.cpp Thu Jul 15 18:19:25 2010 +0300
+++ b/emailservices/emailserver/cmailhandlerplugin/src/emailsoundhandler.cpp Thu Aug 19 09:38:05 2010 +0300
@@ -231,7 +231,7 @@
TInt preference = KAudioPrefNewSpecialMessage;
if ( !mailVibraEnabled )
{
- preference = EMdaPriorityPreferenceQuality;
+ preference = KAudioPrefNewEmail; // Used in TB.92 only! In 10.X adaptation will manage vibra setting itself.
}
if (IsBeepOnceSetL(*profile))
@@ -255,12 +255,12 @@
{
// Play the silent tone with KAudioPrefNewSpecialMessage
// in order to avoid the distortion
- // KAudioPrefNewSpecialMessage does not play vibra if KProfileSilentTone is played
+ // KAudioPrefNewSpecialMessage does not play vibra if KProfileSilentTone is played
preference = KAudioPrefNewSpecialMessage;
}
RFs fs;
TInt err = fs.Connect();
- CleanupClosePushL( fs );
+ CleanupClosePushL( fs );
if ( err == KErrNone )
{
@@ -283,7 +283,7 @@
fileToPlay.Append( KDefaultEmailTone );
}
- CleanupStack::PopAndDestroy( &fs );
+ CleanupStack::PopAndDestroy( &fs );
}
iAudioPlayer = CMdaAudioPlayerUtility::NewFilePlayerL(