Use the async CallServiceSelector API
Switch DummyCallServiceSelector to use the new CallServiceSelector API. Change-Id: Ifc062cf49421079686d925406c823000232fa728
This commit is contained in:
parent
fc511caf40
commit
a1c1708a8b
|
@ -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<CallServiceDescriptor> select(
|
||||
CallInfo callInfo, List<CallServiceDescriptor> callServiceDescriptors) {
|
||||
protected void select(
|
||||
CallInfo callInfo, List<CallServiceDescriptor> callServiceDescriptors,
|
||||
CallServiceSelectionResponse response) {
|
||||
|
||||
return callServiceDescriptors;
|
||||
response.setSelectedCallServices(callServiceDescriptors);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue