equal
deleted
inserted
replaced
28 #include "tphonecmdparamboolean.h" |
28 #include "tphonecmdparamboolean.h" |
29 #include "phoneui.hrh" |
29 #include "phoneui.hrh" |
30 #include "mphonestatemachine.h" |
30 #include "mphonestatemachine.h" |
31 #include "mphonestorage.h" |
31 #include "mphonestorage.h" |
32 #include "cphonecenrepproxy.h" |
32 #include "cphonecenrepproxy.h" |
33 #include "tphonecmdparamcallstatedata.h" |
33 #include "phonecallutil.h" |
34 |
34 |
35 // ================= MEMBER FUNCTIONS ======================= |
35 // ================= MEMBER FUNCTIONS ======================= |
36 |
36 |
37 // C++ default constructor can NOT contain any code, that |
37 // C++ default constructor can NOT contain any code, that |
38 // might leave. |
38 // might leave. |
181 // ----------------------------------------------------------- |
181 // ----------------------------------------------------------- |
182 void CPhoneIncoming::HandleIncomingL( TInt aCallId ) |
182 void CPhoneIncoming::HandleIncomingL( TInt aCallId ) |
183 { |
183 { |
184 __LOGMETHODSTARTEND( EPhoneUIStates, |
184 __LOGMETHODSTARTEND( EPhoneUIStates, |
185 "CPhoneIncoming::HandleIncomingL()"); |
185 "CPhoneIncoming::HandleIncomingL()"); |
186 TPhoneCmdParamCallStateData callState; |
186 TInt connectedCall = PhoneCallUtil::CallIdByState( EPEStateConnected ); |
187 callState.SetCallState( EPEStateConnected ); |
|
188 iViewCommandHandle->ExecuteCommandL( EPhoneViewGetCallIdByState, &callState ); |
|
189 TInt connectedCall = callState.CallId(); |
|
190 |
187 |
191 DisplayCallHeaderL( aCallId, ECheckIfNEUsedBeforeSettingVisibilityFalse ); |
188 DisplayCallHeaderL( aCallId, ECheckIfNEUsedBeforeSettingVisibilityFalse ); |
192 |
189 |
193 if ( connectedCall > KErrNotFound ) |
190 if ( connectedCall > KErrNotFound ) |
194 { |
191 { |