profilesservices/ProfileEngine/EngSrc/CProfileTonesImpl.cpp
changeset 31 2c9d3aa5bea2
parent 0 8c5d936e5675
child 32 20bd089f4aaa
--- a/profilesservices/ProfileEngine/EngSrc/CProfileTonesImpl.cpp	Mon Jan 18 20:31:08 2010 +0200
+++ b/profilesservices/ProfileEngine/EngSrc/CProfileTonesImpl.cpp	Thu Apr 01 03:17:51 2010 +0800
@@ -150,9 +150,6 @@
             aCenRep.Get( ProfileEngUtils::ResolveKey( KProEngVibra,
             aProfileId ), iProfileToneSettings.iVibratingAlert ) );
     User::LeaveIfError(
-          aCenRep.Get( ProfileEngUtils::ResolveKey( KProEngEmailVibra,
-           aProfileId ), iProfileToneSettings.iEmailVibratingAlert ) );   
-    User::LeaveIfError(
             aCenRep.Get( ProfileEngUtils::ResolveKey( KProEngWarnAndGameTones,
             aProfileId ), iProfileToneSettings.iWarningAndGameTones ) );
     User::LeaveIfError(
@@ -167,7 +164,6 @@
     if ( iPowerSaveMode )
         {
         iProfileToneSettings.iVibratingAlert = iPsmConfigVibra;
-        iProfileToneSettings.iEmailVibratingAlert = iPsmConfigVibra;
         iProfileToneSettings.iKeypadVolume = 
                              TProfileKeypadVolume( iPsmConfigKeypadVolume );
         }
@@ -215,11 +211,8 @@
         User::LeaveIfError(
                 aCenRep.Set( ProfileEngUtils::ResolveKey( KProEngVibra,
                 aProfileId ), iProfileToneSettings.iVibratingAlert ) );        
-        
-   User::LeaveIfError(
-             aCenRep.Set( ProfileEngUtils::ResolveKey( KProEngEmailVibra,
-             aProfileId ), iProfileToneSettings.iEmailVibratingAlert ) );   
-     }
+        }
+    
     User::LeaveIfError(
             aCenRep.Set( ProfileEngUtils::ResolveKey( KProEngWarnAndGameTones,
             aProfileId ), iProfileToneSettings.iWarningAndGameTones ) );