equal
deleted
inserted
replaced
78 { |
78 { |
79 TInt currentVal; |
79 TInt currentVal; |
80 User::LeaveIfError(RProperty::Get( NMusSessionInformationApi::KCategoryUid, |
80 User::LeaveIfError(RProperty::Get( NMusSessionInformationApi::KCategoryUid, |
81 NMusSessionInformationApi::KMusCallEvent,currentVal)); |
81 NMusSessionInformationApi::KMusCallEvent,currentVal)); |
82 MUS_LOG1( "mus: [MUSAO] - Remote State = %d",iRemoteCallEvent ) |
82 MUS_LOG1( "mus: [MUSAO] - Remote State = %d",iRemoteCallEvent ) |
|
83 |
|
84 |
|
85 /* |
|
86 If Call is Connected then set the Call info. |
|
87 */ |
|
88 if( aVal==NMusSessionInformationApi::ECallConnected ) |
|
89 { |
|
90 SetCallInfoL(); |
|
91 } |
|
92 |
83 /* If current event is callconnected and remote is not in hold set the |
93 /* If current event is callconnected and remote is not in hold set the |
84 property value to CallConnected.Else set it to CallHold. |
94 property value to CallConnected.Else set it to CallHold. |
85 Note : We can be sure about Local is connected when it goes to |
95 Note : We can be sure about Local is connected when it goes to |
86 CallConnected State. But remote call events are just notified |
96 CallConnected State. But remote call events are just notified |
87 in call event monitor. So this stores the last remotecall event |
97 in call event monitor. So this stores the last remotecall event |
123 User::LeaveIfError(RProperty::Set( NMusSessionInformationApi::KCategoryUid, |
133 User::LeaveIfError(RProperty::Set( NMusSessionInformationApi::KCategoryUid, |
124 NMusSessionInformationApi::KMusCallEvent, |
134 NMusSessionInformationApi::KMusCallEvent, |
125 ( TInt ) NMusSessionInformationApi::ENoCall )); |
135 ( TInt ) NMusSessionInformationApi::ENoCall )); |
126 } |
136 } |
127 } |
137 } |
128 /* |
138 |
129 If Call is Connected then set the Call info. |
|
130 */ |
|
131 if( aVal==NMusSessionInformationApi::ECallConnected ) |
|
132 { |
|
133 SetCallInfoL(); |
|
134 } |
|
135 |
|
136 } |
139 } |
137 |
140 |
138 MUS_LOG( "mus: [MUSAO] <- CMusCallMonitorBase::SetStateL" ) |
141 MUS_LOG( "mus: [MUSAO] <- CMusCallMonitorBase::SetStateL" ) |
139 } |
142 } |
140 |
143 |