diff options
author | Rekha Kumar <rekhak@codeaurora.org> | 2014-11-19 12:33:50 -0800 |
---|---|---|
committer | Arne Coucheron <arco68@gmail.com> | 2014-12-13 01:45:47 +0100 |
commit | bf939870e04678a9d31e8e050b782ec8b498ca41 (patch) | |
tree | c9d8d8b1535271d5ddd5cc21d047ba2964be78ca /src/com | |
parent | 0139d9b0a6e62b387ea39d8359cfe2e825b29626 (diff) | |
download | packages_apps_InCallUI-bf939870e04678a9d31e8e050b782ec8b498ca41.tar.gz packages_apps_InCallUI-bf939870e04678a9d31e8e050b782ec8b498ca41.tar.bz2 packages_apps_InCallUI-bf939870e04678a9d31e8e050b782ec8b498ca41.zip |
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
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/incallui/CallButtonFragment.java | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |