equal
deleted
inserted
replaced
263 } |
263 } |
264 break; |
264 break; |
265 |
265 |
266 case EKeyApplication0: |
266 case EKeyApplication0: |
267 { |
267 { |
|
268 // Security mode |
|
269 TPhoneCmdParamBoolean isSecurityMode; |
|
270 iViewCommandHandle->ExecuteCommandL( EPhoneViewGetSecurityModeStatus, &isSecurityMode ); |
|
271 |
268 // If dialer is not open but phone is in foreground and phone receives |
272 // If dialer is not open but phone is in foreground and phone receives |
269 // applicaion-key event we have to open emergency dialer. No need own |
273 // applicaion-key event we have to open emergency dialer. |
270 // securitymode check because Applicationkey only captured in securitymode. |
274 // Securitymode check because Applicationkey only open dialer in securitymode. |
271 if ( !IsNumberEntryUsedL() ) |
275 if ( isSecurityMode.Boolean() && !IsNumberEntryUsedL() ) |
272 { |
276 { |
273 HandleCommandL(EPhoneNumberAcqSecurityDialer); |
277 HandleCommandL(EPhoneNumberAcqSecurityDialer); |
274 } |
278 } |
275 } |
279 } |
276 break; |
280 break; |