mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-20 17:29:51 +00:00
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:
parent
6648d8fa30
commit
5b62b02476
6 changed files with 17 additions and 9 deletions
|
@ -41,8 +41,12 @@ public final class BahnProvider implements NetworkProvider
|
|||
|
||||
private static final long PARSER_DAY_ROLLOVER_THRESHOLD_MS = 12 * 60 * 60 * 1000;
|
||||
|
||||
public boolean hasCapabilities(Capability... capabilities)
|
||||
public boolean hasCapabilities(final Capability... capabilities)
|
||||
{
|
||||
for (final Capability capability : capabilities)
|
||||
if (capability == Capability.LOCATION_WGS84)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue