mrmans0n / smart-location-lib

Android library project that lets you manage the location updates to be as painless as possible
1.65k stars 353 forks source link

Correctly stating what is the default provider #234

Closed 0x7067 closed 5 years ago

0x7067 commented 6 years ago

When SmartLocation.with(context).location() is called with no provider as parameter the following method is called:

    public SmartLocation.LocationControl location() {
        return this.location(new LocationGooglePlayServicesWithFallbackProvider(this.context));
    }

As you can see the default provider is LocationGooglePlayServicesWithFallbackProvider and not LocationGooglePlayServicesProvider