diff options
author | tobrun <tobrun.van.nuland@gmail.com> | 2018-12-10 12:02:54 +0100 |
---|---|---|
committer | Tobrun <tobrun@mapbox.com> | 2018-12-10 19:09:07 +0100 |
commit | 38bf54688d5591d2275811c2f0a11d60b1463854 (patch) | |
tree | 4d2e1b2a4b5aae4b17fd80a54cd41c362c92f1de /platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponent.java | |
parent | 1b7b4d47dc724761725a9fbf6ef4b9a23294d502 (diff) | |
download | qtlocation-mapboxgl-38bf54688d5591d2275811c2f0a11d60b1463854.tar.gz |
[android] - throw exception when another style is loading, correct RuntimeStyleTest when removing layer at, add javadoc to isFullyLoaded
Diffstat (limited to 'platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponent.java')
-rw-r--r-- | platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponent.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponent.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponent.java index 59ce2a900e..340e84abef 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponent.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponent.java @@ -916,7 +916,7 @@ public final class LocationComponent { } if (!style.isFullyLoaded()) { - throw new IllegalStateException("Style hasn't fully loaded yet, can't initialize LocationComponent."); + throw new IllegalStateException("Style is invalid, provide the most recently loaded one."); } this.style = style; |