summaryrefslogtreecommitdiff
path: root/platform/android/src/example_custom_layer.cpp
diff options
context:
space:
mode:
authorBrad Leege <bleege@gmail.com>2015-12-21 11:51:54 -0600
committerBrad Leege <bleege@gmail.com>2015-12-21 11:51:54 -0600
commit9c4cbb4fcd7e350eefcf5afa70fe7de06b5bf52d (patch)
treee3e2763503901b4ee82d198040b7336c89e8d21e /platform/android/src/example_custom_layer.cpp
parente8e485f83ed27449de2eb8ba5cb8b1190d0e5770 (diff)
downloadqtlocation-mapboxgl-9c4cbb4fcd7e350eefcf5afa70fe7de06b5bf52d.tar.gz
[android] #3348 - Updating customLayerClass package name in JNI code
Diffstat (limited to 'platform/android/src/example_custom_layer.cpp')
-rw-r--r--platform/android/src/example_custom_layer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/src/example_custom_layer.cpp b/platform/android/src/example_custom_layer.cpp
index a58b05758e..439f9aff1a 100644
--- a/platform/android/src/example_custom_layer.cpp
+++ b/platform/android/src/example_custom_layer.cpp
@@ -76,7 +76,7 @@ extern "C" JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void *) {
JNIEnv *env = nullptr;
vm->GetEnv(reinterpret_cast<void **>(&env), JNI_VERSION_1_6);
- jclass customLayerClass = env->FindClass("com/mapbox/mapboxsdk/testapp/ExampleCustomLayer");
+ jclass customLayerClass = env->FindClass("com/mapbox/mapboxsdk/testapp/layers/ExampleCustomLayer");
JNINativeMethod methods[] = {
{"createContext", "()J", reinterpret_cast<void *>(&nativeCreateContext)}