Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[android] use location engine abstraction instead of location source …
Browse files Browse the repository at this point in the history
…(lost) in MyLocationView#init
  • Loading branch information
Guardiola31337 committed Nov 29, 2017
1 parent 3f96257 commit 0a3a7e9
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
import com.mapbox.mapboxsdk.constants.MyBearingTracking;
import com.mapbox.mapboxsdk.constants.MyLocationTracking;
import com.mapbox.mapboxsdk.geometry.LatLng;
import com.mapbox.mapboxsdk.location.LocationSource;
import com.mapbox.mapboxsdk.maps.MapboxMap;
import com.mapbox.mapboxsdk.maps.Projection;
import com.mapbox.services.android.telemetry.location.LocationEngine;
Expand Down Expand Up @@ -162,7 +161,7 @@ private void init(Context context) {
}

@Deprecated
public void init(LocationSource locationSource) {
public void init(LocationEngine locationSource) {
this.locationEngine = locationSource;
}

Expand Down

0 comments on commit 0a3a7e9

Please sign in to comment.