From 134cf09661f4c8dfce69e88fb2ed354e46e5257e Mon Sep 17 00:00:00 2001 From: Ben Gilad Date: Thu, 16 Jan 2014 18:26:12 -0800 Subject: [PATCH] Add a TODO for handling the returned set of call-service selectors from the finder. Change-Id: I588c4c4c4324cbee8b20ed5a10428e1a8f475649 --- src/com/android/telecomm/Switchboard.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/com/android/telecomm/Switchboard.java b/src/com/android/telecomm/Switchboard.java index 52bacd909..c4c602849 100644 --- a/src/com/android/telecomm/Switchboard.java +++ b/src/com/android/telecomm/Switchboard.java @@ -125,6 +125,10 @@ final class Switchboard { void setSelectors(Set selectors) { ThreadUtil.checkOnMainThread(); + // TODO(gilad): Add logic to include the built-in selectors (e.g. for dealing with + // emergency calls) and order the entire set prior to the assignment below. If the + // built-in selectors can be implemented in a manner that does not require binding, + // that's probably preferred. May want to use a LinkedHashSet for the sorted set. mSelectors = selectors; processPendingOutgoingCalls(); }