[android] - update sanity test to Style.java

This commit is contained in:
Tobrun
2018-12-06 19:11:16 +02:00
committed by Tobrun
parent 222a997584
commit 5a1a34e860
5 changed files with 50 additions and 48 deletions

View File

@@ -817,6 +817,10 @@ public final class MapboxMap {
}
void notifyStyleLoaded() {
if (nativeMapView.isDestroyed()) {
return;
}
if (style != null) {
style.onDidFinishLoadingStyle();
locationComponent.onFinishLoadingStyle();

View File

@@ -1336,6 +1336,10 @@ final class NativeMapView {
});
}
boolean isDestroyed() {
return destroyed;
}
//
// Image conversion
//