diff options
author | Garik Badalyan <garikb@codeaurora.org> | 2016-04-25 16:06:07 -0700 |
---|---|---|
committer | Tyler Gunn <tgunn@google.com> | 2016-05-06 08:54:59 -0700 |
commit | 8d9c4de483823106283ce945a567e76444c72932 (patch) | |
tree | c9f10d0b75aad3c94eb1da60ed2f12c6e3cb6550 /InCallUI/src/com/android | |
parent | 9bb027e7dc557645b87a02981dd794f6267fa4b1 (diff) |
IMS-VT: Call showAnswerUi when onUpgradetoVideo callback is called
- Glowpad wrapper is now seen when we receive an upgrade request as
showAnswerUi is called when onUpgradeToVideo callback is invoked
- Without this change, we don't see the Glowpad wrapper
BUG=28384174
Change-Id: Ibeb1a49f6cc9b8b0d70d167debf496f897c7c14f
Diffstat (limited to 'InCallUI/src/com/android')
-rw-r--r-- | InCallUI/src/com/android/incallui/AnswerPresenter.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/InCallUI/src/com/android/incallui/AnswerPresenter.java b/InCallUI/src/com/android/incallui/AnswerPresenter.java index 6757268f3..883b54fed 100644 --- a/InCallUI/src/com/android/incallui/AnswerPresenter.java +++ b/InCallUI/src/com/android/incallui/AnswerPresenter.java @@ -128,10 +128,7 @@ public class AnswerPresenter extends Presenter<AnswerPresenter.AnswerUi> @Override public void onUpgradeToVideo(Call call) { Log.d(this, "onUpgradeToVideo: " + this + " call=" + call); - if (getUi() == null) { - Log.d(this, "onUpgradeToVideo ui is null"); - return; - } + showAnswerUi(true); boolean isUpgradePending = isVideoUpgradePending(call); InCallPresenter inCallPresenter = InCallPresenter.getInstance(); if (isUpgradePending |