diff options
Diffstat (limited to 'java/com/android/incallui/video/protocol')
-rw-r--r-- | java/com/android/incallui/video/protocol/VideoCallScreenDelegate.java | 3 | ||||
-rw-r--r-- | java/com/android/incallui/video/protocol/VideoCallScreenDelegateFactory.java | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/java/com/android/incallui/video/protocol/VideoCallScreenDelegate.java b/java/com/android/incallui/video/protocol/VideoCallScreenDelegate.java index bbd86ee6a..e7e69df2f 100644 --- a/java/com/android/incallui/video/protocol/VideoCallScreenDelegate.java +++ b/java/com/android/incallui/video/protocol/VideoCallScreenDelegate.java @@ -17,6 +17,7 @@ package com.android.incallui.video.protocol; import android.content.Context; +import android.view.SurfaceView; import com.android.incallui.videosurface.protocol.VideoSurfaceTexture; /** Callbacks from the module out to the container. */ @@ -44,5 +45,7 @@ public interface VideoCallScreenDelegate { VideoSurfaceTexture getRemoteVideoSurfaceTexture(); + void setSurfaceViews(SurfaceView preview, SurfaceView remote); + int getDeviceOrientation(); } diff --git a/java/com/android/incallui/video/protocol/VideoCallScreenDelegateFactory.java b/java/com/android/incallui/video/protocol/VideoCallScreenDelegateFactory.java index 285857a23..fb7c78b81 100644 --- a/java/com/android/incallui/video/protocol/VideoCallScreenDelegateFactory.java +++ b/java/com/android/incallui/video/protocol/VideoCallScreenDelegateFactory.java @@ -19,5 +19,5 @@ package com.android.incallui.video.protocol; /** Callbacks from the module out to the container. */ public interface VideoCallScreenDelegateFactory { - VideoCallScreenDelegate newVideoCallScreenDelegate(); + VideoCallScreenDelegate newVideoCallScreenDelegate(VideoCallScreen videoCallScreen); } |