diff --git a/tests/src/com/android/telecomm/testcallservice/DummyCallServiceSelector.java b/tests/src/com/android/telecomm/testcallservice/DummyCallServiceSelector.java index 0cb61dfa9..98dc190fb 100644 --- a/tests/src/com/android/telecomm/testcallservice/DummyCallServiceSelector.java +++ b/tests/src/com/android/telecomm/testcallservice/DummyCallServiceSelector.java @@ -28,14 +28,15 @@ import java.util.List; */ public class DummyCallServiceSelector extends CallServiceSelector { @Override - protected boolean isSwitchable(CallInfo callInfo) { - return false; + protected void isSwitchable(CallInfo callInfo, CallSwitchabilityResponse response) { + response.setSwitchable(false); } @Override - protected List select( - CallInfo callInfo, List callServiceDescriptors) { + protected void select( + CallInfo callInfo, List callServiceDescriptors, + CallServiceSelectionResponse response) { - return callServiceDescriptors; + response.setSelectedCallServices(callServiceDescriptors); } }