diff options
author | Tobrun <tobrun.van.nuland@gmail.com> | 2016-10-31 13:17:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-31 13:17:56 +0100 |
commit | ccc3964270e32145b050d97bf4c678941a5c6092 (patch) | |
tree | 7c917036dbe4c542d5bd42a6e997dcec78d6f8e7 /platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location | |
parent | 38ee3408c224194054f7e4941a22dfd8b65f0d6f (diff) | |
download | qtlocation-mapboxgl-ccc3964270e32145b050d97bf4c678941a5c6092.tar.gz |
Android Nougat compatibility: onstart/onstop on MapView (#6830)
* introduce onstart/onstop on MapView
* update wear module
* update fragments
* update changeling
Diffstat (limited to 'platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location')
-rw-r--r-- | platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationServices.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationServices.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationServices.java index 4fade484b4..9991f1d51a 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationServices.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationServices.java @@ -23,7 +23,7 @@ import java.util.concurrent.CopyOnWriteArrayList; * <li> You can unregister a {@link LocationListener} with {@link #removeLocationListener(LocationListener)}.</li> * </ul> * <p> - * Note: If registering a listener in your Activity.onResume() implementation, you should unregister it in Activity.onPause(). + * Note: If registering a listener in your Activity.onStart() implementation, you should unregister it in Activity.onStop(). * (You won't receive location updates when paused, and this will cut down on unnecessary system overhead). * Do not unregister in Activity.onSaveInstanceState(), because this won't be called if the user moves back in the history stack. * </p> |