diff --git a/enabler/src/de/schildbach/pte/AbstractEfaProvider.java b/enabler/src/de/schildbach/pte/AbstractEfaProvider.java index 773d1e755..90029df06 100644 --- a/enabler/src/de/schildbach/pte/AbstractEfaProvider.java +++ b/enabler/src/de/schildbach/pte/AbstractEfaProvider.java @@ -2057,7 +2057,7 @@ else if (options.accessibility == Accessibility.LIMITED) url.addEncodedQueryParameter("trITMOTvalue100", "10"); // maximum time to walk to first or from last // stop - if (options.options != null && options.options.contains(Option.BIKE)) + if (options.flags != null && options.flags.contains(TripFlag.BIKE)) url.addEncodedQueryParameter("bikeTakeAlong", "1"); url.addEncodedQueryParameter("locationServerActive", "1"); diff --git a/enabler/src/de/schildbach/pte/AbstractHafasLegacyProvider.java b/enabler/src/de/schildbach/pte/AbstractHafasLegacyProvider.java index 13faddd89..936321208 100644 --- a/enabler/src/de/schildbach/pte/AbstractHafasLegacyProvider.java +++ b/enabler/src/de/schildbach/pte/AbstractHafasLegacyProvider.java @@ -738,7 +738,7 @@ protected final QueryTripsResult queryTripsXml(Location from, @Nullable Location else productsStr = allProductsString(); - final char bikeChar = (options.options != null && options.options.contains(Option.BIKE)) ? '1' : '0'; + final char bikeChar = (options.flags != null && options.flags.contains(TripFlag.BIKE)) ? '1' : '0'; final StringBuilder conReq = new StringBuilder(""); conReq.append("").append(locationXml(from)); @@ -1298,7 +1298,7 @@ protected static final int locationType(final Location location) { protected void appendQueryTripsBinaryParameters(final HttpUrl.Builder url, final Location from, final @Nullable Location via, final Location to, final Date date, final boolean dep, final @Nullable Set products, final @Nullable Accessibility accessibility, - final @Nullable Set