equal
deleted
inserted
replaced
146 infoArray.Append( info4 ); |
146 infoArray.Append( info4 ); |
147 |
147 |
148 TPsmsrvConfigInfo info5; |
148 TPsmsrvConfigInfo info5; |
149 info5.iConfigId = EScreenSaverPeriod; |
149 info5.iConfigId = EScreenSaverPeriod; |
150 info5.iConfigType = EConfigTypeInt; |
150 info5.iConfigType = EConfigTypeInt; |
151 info5.iIntValue = iModel->ScreenSaverPeriodL(); |
151 info5.iIntValue = iModel->ScreenSaverAndKeyguardPeriodL(); |
152 infoArray.Append( info5 ); |
152 infoArray.Append( info5 ); |
153 |
153 |
154 #ifndef __WINS__ |
154 #ifndef __WINS__ |
155 TPsmsrvConfigInfo info6; |
155 TPsmsrvConfigInfo info6; |
156 info6.iConfigId = EAutomaticBrightnessControl; |
156 info6.iConfigId = EAutomaticBrightnessControl; |
193 iModel->SetBrightnessL ( infoArray[2].iIntValue ); |
193 iModel->SetBrightnessL ( infoArray[2].iIntValue ); |
194 } |
194 } |
195 |
195 |
196 if ( iModel->CheckScreenSaverTimeoutSupportL() ) |
196 if ( iModel->CheckScreenSaverTimeoutSupportL() ) |
197 { |
197 { |
198 iModel->SetScreenSaverPeriodL( infoArray[4].iIntValue ); |
198 iModel->SetScreenSaverAndKeyguardPeriodL( infoArray[4].iIntValue ); |
199 } |
199 } |
200 |
200 |
201 iModel->SetBacklightPeriodL( infoArray[1].iIntValue ); |
201 iModel->SetBacklightPeriodL( infoArray[1].iIntValue ); |
202 iModel->SetAmbientLightSensorL( infoArray[3].iIntValue ); |
202 iModel->SetAmbientLightSensorL( infoArray[3].iIntValue ); |
203 |
203 |