gssettingsuis/Gs/GSDisplayPlugin/Src/GSDisplayPlugin.cpp
branchRCL_3
changeset 20 9941bcf99348
parent 17 f392bfb21e08
child 25 3b47783fdf16
--- a/gssettingsuis/Gs/GSDisplayPlugin/Src/GSDisplayPlugin.cpp	Wed Apr 14 16:15:29 2010 +0300
+++ b/gssettingsuis/Gs/GSDisplayPlugin/Src/GSDisplayPlugin.cpp	Tue Apr 27 16:56:32 2010 +0300
@@ -478,7 +478,7 @@
     if ( !dlg->ExecuteLD( CAknSettingPage::EUpdateWhenChanged ) )
         {
 #ifdef FF_POWER_SAVE
-        if ( iPsmActive->Mode() == EPsmsrvModeNormal )
+        if ( iPsmActive->Mode() != EPsmsrvModePowerSave )
             {
 #endif //FF_POWER_SAVE
             iModel->SetContrastL( oldValue );
@@ -512,7 +512,7 @@
     if ( !dlg->ExecuteLD(CAknSettingPage::EUpdateWhenChanged ) )
         {
 #ifdef FF_POWER_SAVE
-        if ( iPsmActive->Mode() == EPsmsrvModeNormal )
+        if ( iPsmActive->Mode() != EPsmsrvModePowerSave )
             {
 #endif //FF_POWER_SAVE
             iModel->SetBrightnessL( oldValue );
@@ -545,7 +545,7 @@
     if ( !dlg->ExecuteLD( CAknSettingPage::EUpdateWhenChanged ) )
         {
 #ifdef FF_POWER_SAVE
-        if ( iPsmActive->Mode() == EPsmsrvModeNormal )
+        if ( iPsmActive->Mode() != EPsmsrvModePowerSave )
             {
 #endif //FF_POWER_SAVE
             iModel->SetAmbientLightSensorL( oldValue );