From 591ef664d85c1f6e3c8e6a2bf8d94b9e60fcabb7 Mon Sep 17 00:00:00 2001 From: Santos Cordon Date: Tue, 18 Feb 2014 20:56:59 -0800 Subject: [PATCH] Fix build. Change-Id: I4633e4ab3753f0de328bbe0ef59e87dac1d58d54 --- .../android/telecomm/CallServiceSelector.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/telecomm/java/android/telecomm/CallServiceSelector.java b/telecomm/java/android/telecomm/CallServiceSelector.java index cfa8eb3afa65e..74f05fee49ee8 100644 --- a/telecomm/java/android/telecomm/CallServiceSelector.java +++ b/telecomm/java/android/telecomm/CallServiceSelector.java @@ -49,13 +49,13 @@ public abstract class CallServiceSelector extends Service { } @Override - public void select(CallInfo callInfo, List callServiceIds, + public void select(CallInfo callInfo, List callServiceInfos, ICallServiceSelectionResponse response) throws RemoteException { // Ensure that we're running with the app's normal permission level long ident = Binder.clearCallingIdentity(); try { - response.setSelectedCallServiceIds( - CallServiceSelector.this.select(callInfo, callServiceIds)); + response.setSelectedCallServiceInfos( + CallServiceSelector.this.select(callInfo, callServiceInfos)); } finally { Binder.restoreCallingIdentity(ident); } @@ -91,9 +91,10 @@ public abstract class CallServiceSelector extends Service { * This method is not called on the UI thread and is safe to block. * * @param callInfo The call being placed using the {@link CallService}s. - * @param callServiceIds The IDs of the {@link CallService}s to organize for the call. - * - * @return A list of prioritized {@link CallService} IDs to use to complete the given call. + * @param callServiceInfos The details of the available {@link CallService}s with which to place + * the call. + * @return A list of prioritized {@link CallServiceInfo}s to use to complete the given call. */ - protected abstract List select(CallInfo callInfo, List callServiceIds); + protected abstract List select( + CallInfo callInfo, List callServiceInfos); }