Fix for issue found in developer testing. The Call icon not blinking in conferenec...
authorAmith Kumar Mahale <amith.m@samsung.com>
Wed, 14 Aug 2013 11:45:17 +0000 (17:15 +0530)
committerAmith Kumar Mahale <amith.m@samsung.com>
Wed, 14 Aug 2013 11:45:17 +0000 (17:15 +0530)
Change-Id: I32ceee70b26b27b3f8a716976f43b50d55b75be2
Signed-off-by: Amith Kumar Mahale <amith.m@samsung.com>
src/CallPresentationModel.cpp

index 55b363d..39fd054 100644 (file)
@@ -641,7 +641,10 @@ CallPresentationModel::HandleCallConnected(Tizen::Base::Collection::IListT<AppCa
        }
        if(__pSettingsPresentor != null)
        {
-               __pSettingsPresentor->SetCallState(CALL_STATE_CALL_VOICE_ACTIVE);
+               if(IsIncomingorDialingCallPresent() == false)
+               {
+                       __pSettingsPresentor->SetCallState(CALL_STATE_CALL_VOICE_ACTIVE);
+               }
        }
 }
 
@@ -658,7 +661,7 @@ CallPresentationModel::HandleCallDisconnected(bool isLastCall, Tizen::Base::Coll
                        //Check if there is a incoming call or dialing call present before setting the status
                        if(IsIncomingorDialingCallPresent() == false)
                        {
-                       __pSettingsPresentor->SetCallState(CALL_STATE_CALL_OFF);
+                               __pSettingsPresentor->SetCallState(CALL_STATE_CALL_OFF);
                        }
                }
        }
@@ -666,7 +669,10 @@ CallPresentationModel::HandleCallDisconnected(bool isLastCall, Tizen::Base::Coll
        {
                if(__pSettingsPresentor != null)
                {
-                       __pSettingsPresentor->SetCallState(CALL_STATE_CALL_VOICE_ACTIVE);
+                       if(IsIncomingorDialingCallPresent() == false)
+                       {
+                               __pSettingsPresentor->SetCallState(CALL_STATE_CALL_VOICE_ACTIVE);
+                       }
                }
        }
        //1) Defer from sending call disconnected event to form, in case Msg AppControl is running,