blob: c0a71eb9e593c128fcb15a81663539e9e8b2a914 [file] [log] [blame]
Sailesh Nepal810735e2014-03-18 18:15:46 -07001/*
2 * Copyright (C) 2014 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Tyler Gunn7cc70b42014-09-12 22:17:27 -070017package com.android.server.telecom;
Sailesh Nepal810735e2014-03-18 18:15:46 -070018
Tyler Gunn7cc70b42014-09-12 22:17:27 -070019import android.telecom.AudioState;
Yorke Lee2a66f7b2015-05-13 14:21:19 -070020import android.telecom.CallAudioState;
Tyler Gunn86014fc2015-06-12 14:31:25 -070021import android.telecom.VideoProfile;
Sailesh Nepal810735e2014-03-18 18:15:46 -070022
23/**
Sailesh Nepal6aca10a2014-03-24 16:11:02 -070024 * Provides a default implementation for listeners of CallsManager.
Sailesh Nepal810735e2014-03-18 18:15:46 -070025 */
Ihab Awad8de76912015-02-17 12:25:52 -080026public class CallsManagerListenerBase implements CallsManager.CallsManagerListener {
Sailesh Nepal810735e2014-03-18 18:15:46 -070027 @Override
28 public void onCallAdded(Call call) {
29 }
30
31 @Override
32 public void onCallRemoved(Call call) {
33 }
34
35 @Override
Ihab Awad6fb37c82014-08-07 19:48:57 -070036 public void onCallStateChanged(Call call, int oldState, int newState) {
Sailesh Nepal810735e2014-03-18 18:15:46 -070037 }
38
39 @Override
Sailesh Nepalc92c4362014-07-04 18:33:21 -070040 public void onConnectionServiceChanged(
Sailesh Nepal8c85dee2014-04-07 22:21:40 -070041 Call call,
Sailesh Nepalc92c4362014-07-04 18:33:21 -070042 ConnectionServiceWrapper oldService,
43 ConnectionServiceWrapper newService) {
Sailesh Nepal8c85dee2014-04-07 22:21:40 -070044 }
45
46 @Override
Sailesh Nepal810735e2014-03-18 18:15:46 -070047 public void onIncomingCallAnswered(Call call) {
48 }
49
50 @Override
Ihab Awadff7493a2014-06-10 13:47:44 -070051 public void onIncomingCallRejected(Call call, boolean rejectWithMessage, String textMessage) {
Sailesh Nepal810735e2014-03-18 18:15:46 -070052 }
53
54 @Override
Yorke Lee2a66f7b2015-05-13 14:21:19 -070055 public void onCallAudioStateChanged(CallAudioState oldAudioState,
56 CallAudioState newAudioState) {
Sailesh Nepal6aca10a2014-03-24 16:11:02 -070057 }
Ihab Awadcb387ac2014-05-28 16:49:38 -070058
59 @Override
Andrew Lee5be64bc2014-09-08 18:35:15 -070060 public void onRingbackRequested(Call call, boolean ringback) {
Ihab Awadcb387ac2014-05-28 16:49:38 -070061 }
Santos Cordona1610702014-06-04 20:22:56 -070062
63 @Override
Santos Cordona1610702014-06-04 20:22:56 -070064 public void onIsConferencedChanged(Call call) {
65 }
Ihab Awadff7493a2014-06-10 13:47:44 -070066
67 @Override
Andrew Lee5be64bc2014-09-08 18:35:15 -070068 public void onIsVoipAudioModeChanged(Call call) {
Sailesh Nepal7e669572014-07-08 21:29:12 -070069 }
Andrew Lee4a796602014-07-11 17:23:03 -070070
71 @Override
Hall Liu9696c212016-06-24 16:09:02 -070072 public void onVideoStateChanged(Call call, int previousVideoState, int newVideoState) {
Andrew Lee4a796602014-07-11 17:23:03 -070073 }
Santos Cordon91bd74c2014-11-07 16:10:22 -080074
75 @Override
76 public void onCanAddCallChanged(boolean canAddCall) {
77 }
Tyler Gunn86014fc2015-06-12 14:31:25 -070078
79 @Override
80 public void onSessionModifyRequestReceived(Call call, VideoProfile videoProfile) {
81
82 }
Tyler Gunndb821912016-02-16 14:35:25 -080083
84 @Override
85 public void onHoldToneRequested(Call call) {
86 }
Tyler Gunn1a40c4f2016-04-14 14:29:45 -070087
88 @Override
89 public void onExternalCallChanged(Call call, boolean isExternalCall) {
90 }
Honggangb3ccbb32016-05-31 14:46:22 +080091
92 @Override
93 public void onDisconnectedTonePlaying(boolean isTonePlaying) {
94 }
Sailesh Nepal810735e2014-03-18 18:15:46 -070095}