AbstractHafasMobileProvider: Don't format LocMatch response.

This commit is contained in:
Andreas Schildbach 2018-07-26 15:28:02 +02:00
parent 0c944c2ebe
commit 0bcc9ce640

View file

@ -317,7 +317,7 @@ public abstract class AbstractHafasMobileProvider extends AbstractHafasProvider
final String request = wrapJsonApiRequest("LocMatch",
"{\"input\":{\"field\":\"S\",\"loc\":{\"name\":" + JSONObject.quote(checkNotNull(constraint).toString())
+ ",\"meta\":false},\"maxLoc\":" + DEFAULT_MAX_LOCATIONS + "}}",
true);
false);
final HttpUrl url = checkNotNull(mgateEndpoint);
final CharSequence page = httpClient.get(url, request, "application/json");