equal
deleted
inserted
replaced
142 |
142 |
143 // Only go to the idle state if phone is also ready |
143 // Only go to the idle state if phone is also ready |
144 if ( iPhoneReady ) |
144 if ( iPhoneReady ) |
145 { |
145 { |
146 // Security mode check. |
146 // Security mode check. |
147 TPhoneCmdParamBoolean isSecurityMode; |
147 TPhoneCmdParamBoolean isSecurityMode; |
148 iViewCommandHandle->ExecuteCommandL( EPhoneViewGetSecurityModeStatus, &isSecurityMode ); |
148 iViewCommandHandle->ExecuteCommandL( EPhoneViewGetSecurityModeStatus, &isSecurityMode ); |
149 if ( !isSecurityMode.Boolean() && !IsSimOk() ) |
149 if ( !isSecurityMode.Boolean() && !IsSimOk() ) |
150 { |
150 { |
151 TPhoneCmdParamBoolean securityMode; |
151 TPhoneCmdParamBoolean securityMode; |
152 securityMode.SetBoolean( ETrue ); |
152 securityMode.SetBoolean( ETrue ); |
231 |
231 |
232 // Only go to idle state when Phone engine is also ready |
232 // Only go to idle state when Phone engine is also ready |
233 if ( iPEReady ) |
233 if ( iPEReady ) |
234 { |
234 { |
235 // Security mode check. |
235 // Security mode check. |
236 TPhoneCmdParamBoolean isSecurityMode; |
236 TPhoneCmdParamBoolean isSecurityMode; |
237 iViewCommandHandle->ExecuteCommandL( EPhoneViewGetSecurityModeStatus, &isSecurityMode ); |
237 iViewCommandHandle->ExecuteCommandL( EPhoneViewGetSecurityModeStatus, &isSecurityMode ); |
238 if ( !isSecurityMode.Boolean() && !IsSimOk() ) |
238 if ( !isSecurityMode.Boolean() && !IsSimOk() ) |
239 { |
239 { |
240 TPhoneCmdParamBoolean securityMode; |
240 TPhoneCmdParamBoolean securityMode; |
241 securityMode.SetBoolean( ETrue ); |
241 securityMode.SetBoolean( ETrue ); |