159 globalNotifierParam.SetBoolean( EFalse ); |
153 globalNotifierParam.SetBoolean( EFalse ); |
160 iViewCommandHandle.ExecuteCommandL( |
154 iViewCommandHandle.ExecuteCommandL( |
161 EPhoneViewSetGlobalNotifiersDisabled, |
155 EPhoneViewSetGlobalNotifiersDisabled, |
162 &globalNotifierParam ); |
156 &globalNotifierParam ); |
163 |
157 |
164 TPhoneCmdParamBoolean booleanParam; |
|
165 booleanParam.SetBoolean( ETrue ); |
|
166 iViewCommandHandle.ExecuteCommandL( |
|
167 EPhoneViewSetBlockingDialogStatus, |
|
168 &booleanParam ); |
|
169 |
|
170 // Get active call count |
158 // Get active call count |
171 TPhoneCmdParamInteger activeCallCount; |
159 TPhoneCmdParamInteger activeCallCount; |
172 iViewCommandHandle.ExecuteCommandL( |
160 iViewCommandHandle.ExecuteCommandL( |
173 EPhoneViewGetCountOfActiveCalls, &activeCallCount ); |
161 EPhoneViewGetCountOfActiveCalls, &activeCallCount ); |
174 |
162 |
175 if( !activeCallCount.Integer() ) |
|
176 { |
|
177 __PHONELOG( |
|
178 EBasic, |
|
179 EPhoneUIStates, |
|
180 "CPhoneGeneralGsmMessagesHandler::EPEMessageIssuingSSRequest no active call" ); |
|
181 // Ensure that the dialer is activated to display local notes and dialogs properly. |
|
182 TPhoneCmdParamAppInfo param; |
|
183 param.SetAppUid( KUidPhoneApplication ); |
|
184 param.SetViewUid( KUidViewId ); |
|
185 param.SetCustomMessageId( TUid::Uid( KTouchDiallerViewCommand ) ); |
|
186 iViewCommandHandle.ExecuteCommandL( |
|
187 EPhoneViewActivateAppViewWithCustomMessage, |
|
188 ¶m ); |
|
189 } |
|
190 // Remove phoneumber query |
163 // Remove phoneumber query |
191 iViewCommandHandle.ExecuteCommandL( EPhoneViewRemoveQuery ); |
164 iViewCommandHandle.ExecuteCommandL( EPhoneViewRemoveQuery ); |
192 break; |
165 break; |
193 } |
166 } |
194 |
167 |