From bf939870e04678a9d31e8e050b782ec8b498ca41 Mon Sep 17 00:00:00 2001 From: Rekha Kumar Date: Wed, 19 Nov 2014 12:33:50 -0800 Subject: IMS-VT: Show correct call types during video pause -In paused state, upgrade downgrade button does not list the calltypes dropdown box -Remove the paused bit to calculate call type during video paused state. Change-Id: Ide5e4f55690567bb680acd52cc507d40b28c37ce CRs-Fixed: 755923 --- src/com/android/incallui/CallButtonFragment.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/com') diff --git a/src/com/android/incallui/CallButtonFragment.java b/src/com/android/incallui/CallButtonFragment.java index a41d43cf..182a41b2 100644 --- a/src/com/android/incallui/CallButtonFragment.java +++ b/src/com/android/incallui/CallButtonFragment.java @@ -379,7 +379,8 @@ public class CallButtonFragment } }; int currVideoState = getPresenter().getCurrentVideoState(); - int index = itemToCallType.indexOf(currVideoState); + int currUnpausedVideoState = CallUtils.toUnPausedVideoState(currVideoState); + int index = itemToCallType.indexOf(currUnpausedVideoState); if (index == INVALID_INDEX) { return; } -- cgit v1.2.3