summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2014-06-27 14:31:02 -0700
committerTyler Gunn <tgunn@google.com>2014-06-27 14:31:02 -0700
commit0e8d775198dca09ac4fc9637a788f69123779bb7 (patch)
treea2a577f6985453039ecaeb6c87d286244232486d
parent0a61810627d3e2ba7a0afefa247a1120c31ca086 (diff)
Adding stub implementation of CallVideoClient in InCallUI.
Change-Id: Iab1be9a7b449c7730dc884a3c77792bf97eb5f2e
-rw-r--r--InCallUI/AndroidManifest.xml6
-rw-r--r--InCallUI/src/com/android/incallui/InCallVideoClient.java57
2 files changed, 63 insertions, 0 deletions
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 @@
</intent-filter>
</service>
+ <service android:name="InCallVideoClient">
+ <intent-filter>
+ <action android:name="android.telecomm.CallVideoClient" />
+ </intent-filter>
+ </service>
+
<!-- BroadcastReceiver for receiving Intents from Notification mechanism. -->
<receiver android:name="InCallApp$NotificationBroadcastReceiver" android:exported="false">
<intent-filter>
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) {
+
+ }
+}