From bf7792eae07eb7561cab3dd567b1d9fca75d52be Mon Sep 17 00:00:00 2001 From: tobrun Date: Mon, 9 Jul 2018 11:31:16 +0200 Subject: [android] - fix jni method lookup of GeometryCollection accessor geometries, add regression test --- platform/android/src/geojson/geometry_collection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/android/src') 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::New(jni::JNIEnv& env, const mapbox::geometry::geometry_collection GeometryCollection::convert(jni::JNIEnv &env, jni::Object jCollection) { // Get geometries - static auto getGeometries = javaClass.GetMethod ()>(env, "getGeometries"); + static auto getGeometries = javaClass.GetMethod ()>(env, "geometries"); auto jList = jCollection.Call(env, getGeometries); // Turn into array -- cgit v1.2.1