Home | History | Annotate | Download | only in stub
      1 /*
      2  * Copyright (C) 2017 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 
     17 package com.android.dialer.feedback.stub;
     18 
     19 import android.content.Context;
     20 import android.support.annotation.NonNull;
     21 import com.android.dialer.common.Assert;
     22 import com.android.dialer.inject.ApplicationContext;
     23 import com.android.incallui.call.CallList;
     24 import com.android.incallui.call.DialerCall;
     25 import javax.inject.Inject;
     26 
     27 /**
     28  * Stub implementation of {@link com.google.android.apps.dialer.feedback.CallFeedbackListenerImpl}
     29  */
     30 public class CallFeedbackListenerStub implements CallList.Listener {
     31 
     32   @NonNull private final Context context;
     33 
     34   @Inject
     35   public CallFeedbackListenerStub(@ApplicationContext @NonNull Context context) {
     36     this.context = Assert.isNotNull(context);
     37   }
     38 
     39   @Override
     40   public void onIncomingCall(DialerCall call) {}
     41 
     42   @Override
     43   public void onUpgradeToVideo(DialerCall call) {}
     44 
     45   @Override
     46   public void onSessionModificationStateChange(DialerCall call) {}
     47 
     48   @Override
     49   public void onCallListChange(CallList callList) {}
     50 
     51   @Override
     52   public void onDisconnect(DialerCall call) {}
     53 
     54   @Override
     55   public void onWiFiToLteHandover(DialerCall call) {}
     56 
     57   @Override
     58   public void onHandoverToWifiFailed(DialerCall call) {}
     59 
     60   @Override
     61   public void onInternationalCallOnWifi(@NonNull DialerCall call) {}
     62 }
     63