[android] #5887 - Custom layer crash fix + updated test case

This commit is contained in:
Ivo van Dongen
2016-08-08 11:33:31 -04:00
parent 66d8c00376
commit d9145f504b
5 changed files with 43 additions and 11 deletions

View File

@@ -24,6 +24,7 @@ namespace android {
CustomLayer::~CustomLayer() = default;
void CustomLayer::update(jni::JNIEnv&) {
Log::Debug(mbgl::Event::JNI, "Updating map");
if (map) {
map->update(mbgl::Update::Repaint);
} else {