From 0e8d775198dca09ac4fc9637a788f69123779bb7 Mon Sep 17 00:00:00 2001 From: Tyler Gunn Date: Fri, 27 Jun 2014 14:31:02 -0700 Subject: Adding stub implementation of CallVideoClient in InCallUI. Change-Id: Iab1be9a7b449c7730dc884a3c77792bf97eb5f2e --- InCallUI/AndroidManifest.xml | 6 +++ .../com/android/incallui/InCallVideoClient.java | 57 ++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 InCallUI/src/com/android/incallui/InCallVideoClient.java (limited to 'InCallUI') diff --git a/InCallUI/AndroidManifest.xml b/InCallUI/AndroidManifest.xml index cca718fae..76483920f 100644 --- a/InCallUI/AndroidManifest.xml +++ b/InCallUI/AndroidManifest.xml @@ -56,6 +56,12 @@ + + + + + + diff --git a/InCallUI/src/com/android/incallui/InCallVideoClient.java b/InCallUI/src/com/android/incallui/InCallVideoClient.java new file mode 100644 index 000000000..6763672ba --- /dev/null +++ b/InCallUI/src/com/android/incallui/InCallVideoClient.java @@ -0,0 +1,57 @@ +/* + * Copyright (C) 2014 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License + */ + +package com.android.incallui; + +import android.telecomm.CallCameraCapabilities; +import android.telecomm.VideoCallProfile; +import android.telecomm.CallVideoClient; + +/** + * Implements the InCall-UI Call Video client. + */ +public class InCallVideoClient extends CallVideoClient { + @Override + public void onReceiveSessionModifyRequest(VideoCallProfile videoCallProfile) { + + } + + @Override + public void onReceiveSessionModifyResponse(int status, VideoCallProfile requestedProfile, + VideoCallProfile responseProfile) { + + } + + @Override + public void onCallSessionEvent(int event) { + + } + + @Override + public void onUpdatedPeerDimensions(int width, int height) { + + } + + @Override + public void onUpdateCallDataUsage(int dataUsage) { + + } + + @Override + public void onCameraCapabilitiesChange(CallCameraCapabilities callCameraCapabilities) { + + } +} -- cgit v1.2.3