diff options
author | tobrun <tobrun.van.nuland@gmail.com> | 2018-07-09 11:31:16 +0200 |
---|---|---|
committer | Tobrun <tobrun@mapbox.com> | 2018-07-09 12:51:34 +0200 |
commit | bf7792eae07eb7561cab3dd567b1d9fca75d52be (patch) | |
tree | 359592578868c0b7cbad5cab9ffbe71857f3cfa6 /platform/android/src | |
parent | 8b2135b249166469daea241553205e3dab2d2243 (diff) | |
download | qtlocation-mapboxgl-bf7792eae07eb7561cab3dd567b1d9fca75d52be.tar.gz |
[android] - fix jni method lookup of GeometryCollection accessor geometries, add regression test
Diffstat (limited to 'platform/android/src')
-rw-r--r-- | platform/android/src/geojson/geometry_collection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/src/geojson/geometry_collection.cpp b/platform/android/src/geojson/geometry_collection.cpp index eb3a790404..770cb9a5d6 100644 --- a/platform/android/src/geojson/geometry_collection.cpp +++ b/platform/android/src/geojson/geometry_collection.cpp @@ -30,7 +30,7 @@ jni::Object<GeometryCollection> GeometryCollection::New(jni::JNIEnv& env, const mapbox::geometry::geometry_collection<double> GeometryCollection::convert(jni::JNIEnv &env, jni::Object<GeometryCollection> jCollection) { // Get geometries - static auto getGeometries = javaClass.GetMethod<jni::Object<java::util::List> ()>(env, "getGeometries"); + static auto getGeometries = javaClass.GetMethod<jni::Object<java::util::List> ()>(env, "geometries"); auto jList = jCollection.Call(env, getGeometries); // Turn into array |