diff options
author | Ivo van Dongen <info@ivovandongen.nl> | 2016-08-08 11:33:31 -0400 |
---|---|---|
committer | Ivo van Dongen <info@ivovandongen.nl> | 2016-08-08 11:33:31 -0400 |
commit | d9145f504b11217816d27dcfcf9c93aa56f4c239 (patch) | |
tree | 7b07b4ede8ba1337c5da4bfc080f1df932c4133f /platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk | |
parent | 66d8c003766b5ad0df2aa00b84c8fe3d3ac3e750 (diff) | |
download | qtlocation-mapboxgl-d9145f504b11217816d27dcfcf9c93aa56f4c239.tar.gz |
[android] #5887 - Custom layer crash fix + updated test case
Diffstat (limited to 'platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk')
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/CustomLayer.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/CustomLayer.java index 82ecc09cd7..4d578b54f8 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/CustomLayer.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/CustomLayer.java @@ -20,7 +20,7 @@ public class CustomLayer extends Layer { super(nativePtr); } - public void invalidate() { + public void update() { nativeUpdate(); } diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/Layer.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/Layer.java index 387cedbd6c..9bad3647a3 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/Layer.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/Layer.java @@ -106,7 +106,7 @@ public abstract class Layer { } } - public void invalidate() { + public final void invalidate() { this.invalidated = true; } } |