Sydney: Fix trip endpoint.

This commit is contained in:
Andreas Schildbach 2018-11-19 01:59:07 +01:00
parent fe40fa2208
commit 5ff1d2bd35

View file

@ -36,10 +36,10 @@ import okhttp3.HttpUrl;
*/
public class SydneyProvider extends AbstractEfaProvider {
private static final HttpUrl API_BASE = HttpUrl.parse("https://transportnsw.info/web/");
private static final String TRIP_ENDPOINT = "XML_TRIP_REQUEST2";
public SydneyProvider() {
super(NetworkId.SYDNEY, API_BASE);
super(NetworkId.SYDNEY, API_BASE, null, TRIP_ENDPOINT, null, null);
setLanguage("en");
setTimeZone("Australia/Sydney");
setUseProxFootSearch(false);