connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/internal/registry/Registry.java
equal
deleted
inserted
replaced
209 } |
209 } |
210 } |
210 } |
211 |
211 |
212 public Collection<String> getCompatibleConnectionTypeIds(IService service) { |
212 public Collection<String> getCompatibleConnectionTypeIds(IService service) { |
213 Collection<String> compatibleConnectionTypeIds = new HashSet<String>(); |
213 Collection<String> compatibleConnectionTypeIds = new HashSet<String>(); |
214 for (IConnectedServiceFactory factory : connectedServiceFactories) { |
214 if (service != null) { |
215 compatibleConnectionTypeIds.addAll(factory.getCompatibleConnectionTypeIds(service)); |
215 for (IConnectedServiceFactory factory : connectedServiceFactories) { |
|
216 compatibleConnectionTypeIds.addAll(factory.getCompatibleConnectionTypeIds(service)); |
|
217 } |
216 } |
218 } |
217 return compatibleConnectionTypeIds; |
219 return compatibleConnectionTypeIds; |
218 } |
220 } |
219 |
221 |
220 private boolean acceptConnectedService(String serviceId, String connectionTypeId) { |
222 private boolean acceptConnectedService(String serviceId, String connectionTypeId) { |