blob: b90d56b361e79bd10acfdac7d41a0ab304f4bcc2 [file] [log] [blame]
wangqi219b8702018-02-13 09:34:41 -08001/*
2 * Copyright (C) 2018 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
19import android.content.Context;
20import com.android.incallui.rtt.protocol.RttCallScreen;
21import com.android.incallui.rtt.protocol.RttCallScreenDelegate;
22
23/**
24 * Logic related to the {@link RttCallScreen} and for managing changes to the RTT calling surfaces
25 * based on other user interface events and incoming events.
26 */
27public class RttCallPresenter implements RttCallScreenDelegate {
28
29 private Context appContext;
30 private RttCallScreen rttCallScreen;
31
32 @Override
33 public void initRttCallScreenDelegate(Context context, RttCallScreen rttCallScreen) {
34 this.appContext = context.getApplicationContext();
35 this.rttCallScreen = rttCallScreen;
36 }
37
38 @Override
39 public void onRttCallScreenUiReady() {}
40
41 @Override
42 public void onRttCallScreenUiUnready() {}
43}