From 99210688614b22e4be28803acf96ba2d0a2312ce Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Fri, 13 Mar 2015 17:20:34 -0700 Subject: Add VideoCallFragment back into InCallUI Statically add VideoCallFragment into the view hierarchy so that video calls can be shown in the UI. Change-Id: I8afbaaa750371a4afe3946d268882f46f5ec7eb4 --- InCallUI/res/layout-land/call_card_fragment.xml | 12 ++++++++++-- InCallUI/res/layout/call_card_fragment.xml | 10 +++++++++- InCallUI/src/com/android/incallui/InCallPresenter.java | 4 ++++ .../com/android/incallui/InCallVideoCallListener.java | 6 ++++-- InCallUI/src/com/android/incallui/VideoCallFragment.java | 10 +++++++++- .../src/com/android/incallui/VideoCallPresenter.java | 16 ++++++++++++++-- 6 files changed, 50 insertions(+), 8 deletions(-) diff --git a/InCallUI/res/layout-land/call_card_fragment.xml b/InCallUI/res/layout-land/call_card_fragment.xml index 4c76b95de..ed4d41162 100644 --- a/InCallUI/res/layout-land/call_card_fragment.xml +++ b/InCallUI/res/layout-land/call_card_fragment.xml @@ -37,7 +37,7 @@ + + - + - + + + implements VideoCallPresenter.VideoCallUi { + private static final String TAG = VideoCallFragment.class.getSimpleName(); + private static final boolean DEBUG = false; /** * Used to indicate that the surface dimensions are not set. @@ -138,6 +140,10 @@ public class VideoCallFragment extends BaseFragment