blob: a96fee392b35605a65427f5c841996227065050a [file] [log] [blame]
Eric Erfanianccca3152017-02-22 16:32:36 -08001/*
2 * Copyright (C) 2016 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
17package com.android.incallui;
18
Eric Erfanianccca3152017-02-22 16:32:36 -080019import com.android.incallui.answer.protocol.AnswerScreenDelegate;
twyen8efb4952017-10-06 16:35:54 -070020import com.android.incallui.incalluilock.InCallUiLock;
Eric Erfanianccca3152017-02-22 16:32:36 -080021
22/**
23 * Stub implementation of the answer screen delegate. Used to keep the answer fragment visible when
24 * no call exists.
25 */
26public class AnswerScreenPresenterStub implements AnswerScreenDelegate {
27 @Override
28 public void onAnswerScreenUnready() {}
29
30 @Override
Eric Erfanianccca3152017-02-22 16:32:36 -080031 public void onRejectCallWithMessage(String message) {}
32
33 @Override
Eric Erfaniand5e47f62017-03-15 14:41:07 -070034 public void onAnswer(boolean answerVideoAsAudio) {}
Eric Erfanianccca3152017-02-22 16:32:36 -080035
36 @Override
37 public void onReject() {}
38
39 @Override
erfaniand05d8992018-03-20 19:42:26 -070040 public void onSpeakEasyCall() {}
41
42 @Override
Eric Erfanian90508232017-03-24 09:31:16 -070043 public void onAnswerAndReleaseCall() {}
44
45 @Override
Eric Erfanian2ca43182017-08-31 06:57:16 -070046 public void onAnswerAndReleaseButtonEnabled() {}
47
48 @Override
49 public void onAnswerAndReleaseButtonDisabled() {}
50
51 @Override
Eric Erfanian2ca43182017-08-31 06:57:16 -070052 public boolean isActionTimeout() {
53 return false;
54 }
twyen8efb4952017-10-06 16:35:54 -070055
56 @Override
57 public InCallUiLock acquireInCallUiLock(String tag) {
58 return InCallPresenter.getInstance().acquireInCallUiLock(tag);
59 }
Eric Erfanianccca3152017-02-22 16:32:36 -080060}