From 9c98346835b8e902e0c2c11f14a35f4e91578e9f Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 11 Aug 2014 14:44:18 -0700 Subject: Add UI/functions to handle a video upgrade request. + Move session modification listener into the video call presenter. + Add new video accept/reject notification and full-screen UI. + Added "handling" which sends session modification response. Bug: 16657915 Change-Id: I35ff04e383d4938cbfb4e76677730f82557fd918 --- .../com/android/incallui/VideoCallPresenter.java | 48 +++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) (limited to 'InCallUI/src/com/android/incallui/VideoCallPresenter.java') diff --git a/InCallUI/src/com/android/incallui/VideoCallPresenter.java b/InCallUI/src/com/android/incallui/VideoCallPresenter.java index 025a863e2..73947e521 100644 --- a/InCallUI/src/com/android/incallui/VideoCallPresenter.java +++ b/InCallUI/src/com/android/incallui/VideoCallPresenter.java @@ -18,6 +18,7 @@ package com.android.incallui; import android.content.Context; import android.content.res.Configuration; +import android.os.Handler; import android.telecomm.CallAudioState; import android.telecomm.InCallService.VideoCall; import android.view.Surface; @@ -56,7 +57,8 @@ import java.util.Objects; */ public class VideoCallPresenter extends Presenter implements IncomingCallListener, InCallOrientationListener, InCallStateListener, - InCallDetailsListener, SurfaceChangeListener, VideoEventListener { + InCallDetailsListener, SurfaceChangeListener, VideoEventListener, + InCallVideoCallListenerNotifier.SessionModificationListener { /** * Determines the device orientation (portrait/lanscape). @@ -145,6 +147,10 @@ public class VideoCallPresenter extends Presenter