diff options
Diffstat (limited to 'java/com/android/incallui/videosurface/bindings')
-rw-r--r-- | java/com/android/incallui/videosurface/bindings/VideoSurfaceBindings.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/java/com/android/incallui/videosurface/bindings/VideoSurfaceBindings.java b/java/com/android/incallui/videosurface/bindings/VideoSurfaceBindings.java index 96fccb451..1cb26bd40 100644 --- a/java/com/android/incallui/videosurface/bindings/VideoSurfaceBindings.java +++ b/java/com/android/incallui/videosurface/bindings/VideoSurfaceBindings.java @@ -24,12 +24,12 @@ import com.android.incallui.videosurface.protocol.VideoSurfaceTexture; /** Bindings for video surface module. */ public class VideoSurfaceBindings { - public static VideoSurfaceTexture createLocalVideoSurfaceTexture() { - return new VideoSurfaceTextureImpl(VideoSurfaceTexture.SURFACE_TYPE_LOCAL); + public static VideoSurfaceTexture createLocalVideoSurfaceTexture(boolean isPixel2017) { + return new VideoSurfaceTextureImpl(isPixel2017, VideoSurfaceTexture.SURFACE_TYPE_LOCAL); } - public static VideoSurfaceTexture createRemoteVideoSurfaceTexture() { - return new VideoSurfaceTextureImpl(VideoSurfaceTexture.SURFACE_TYPE_REMOTE); + public static VideoSurfaceTexture createRemoteVideoSurfaceTexture(boolean isPixel2017) { + return new VideoSurfaceTextureImpl(isPixel2017, VideoSurfaceTexture.SURFACE_TYPE_REMOTE); } public static void scaleVideoAndFillView( |