EFA: Fix detection of barrier free leg for KVV.

This commit is contained in:
Andreas Schildbach 2016-10-23 13:12:28 +02:00
parent 05219556c8
commit 580f0569e8

View file

@ -2545,7 +2545,7 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
final String text = XmlPullUtil.valueTag(pp, "infoTextListElem");
if (text != null) {
final String lcText = text.toLowerCase();
if ("niederflurwagen soweit verfügbar".equals(lcText)) // KVV
if (lcText.startsWith("niederflurwagen")) // KVV
lowFloorVehicle = true;
else if (lcText.contains("ruf") || lcText.contains("anmeld")) // Bedarfsverkehr
message = text;