Skip to content

Commit

Permalink
Remove LOST from LocationEngineProvider (#58)
Browse files Browse the repository at this point in the history
- remove lost from LocationEngineProvider to help crash associated with including Lost dependency
  • Loading branch information
electrostat authored Jan 24, 2018
1 parent 04800f1 commit 62a7543
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ public class LocationEngineProvider {
private static final List<LocationEngine.Type> OPTIONAL_LOCATION_ENGINES = new ArrayList<LocationEngine.Type>() {
{
add(LocationEngine.Type.GOOGLE_PLAY_SERVICES);
add(LocationEngine.Type.LOST);
}
};

Expand Down Expand Up @@ -51,7 +50,6 @@ private Map<LocationEngine.Type, LocationEngineSupplier> obtainDefaultLocationEn
ClasspathChecker classpathChecker = new ClasspathChecker();
Map<LocationEngine.Type, LocationEngineSupplier> locationSources = new HashMap<>();
locationSources.put(LocationEngine.Type.GOOGLE_PLAY_SERVICES, new GoogleLocationEngineFactory(classpathChecker));
locationSources.put(LocationEngine.Type.LOST, new LostLocationEngineFactory(classpathChecker));
locationSources.put(LocationEngine.Type.ANDROID, new AndroidLocationEngineFactory());

return locationSources;
Expand Down

0 comments on commit 62a7543

Please sign in to comment.