Fix for Call sate not set properly when there is 1 waiting and 1 active call and... 2.2_release submit/tizen/20131031.213120 submit/tizen_2.2/20130814.085356 submit/tizen_2.2/20130814.101354
authorAmith Kumar Mahale <amith.m@samsung.com>
Wed, 7 Aug 2013 07:05:58 +0000 (12:35 +0530)
committerAmith Kumar Mahale <amith.m@samsung.com>
Wed, 7 Aug 2013 07:05:58 +0000 (12:35 +0530)
Change-Id: Ic8b8c10b6da3cab9fcb1406e23559d9b7f0ba9b7
Signed-off-by: Amith Kumar Mahale <amith.m@samsung.com>
src/CallPresentationModel.cpp

index e91d6d0..55b363d 100644 (file)
@@ -655,7 +655,11 @@ CallPresentationModel::HandleCallDisconnected(bool isLastCall, Tizen::Base::Coll
                SetMuteStatus(false);
                if(__pSettingsPresentor != null)
                {
+                       //Check if there is a incoming call or dialing call present before setting the status
+                       if(IsIncomingorDialingCallPresent() == false)
+                       {
                        __pSettingsPresentor->SetCallState(CALL_STATE_CALL_OFF);
+                       }
                }
        }
        else