fixed 'current location' for networks other than MVV

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@84 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach 2010-08-15 19:43:53 +00:00
parent 6648d8fa30
commit 5b62b02476
6 changed files with 17 additions and 9 deletions

View file

@ -44,7 +44,7 @@ public class SbbProvider implements NetworkProvider
public boolean hasCapabilities(final Capability... capabilities)
{
for (final Capability capability : capabilities)
if (capability == Capability.NEARBY_STATIONS)
if (capability == Capability.NEARBY_STATIONS || capability == Capability.LOCATION_WGS84)
return false;
return true;