[android] - don't invoke onLowMemory on map when the map isn't fully created yet

This commit is contained in:
Tobrun
2018-02-02 10:30:05 +01:00
committed by Tobrun
parent 0eb62576ce
commit 22cbca41e5

View File

@@ -474,7 +474,9 @@ public class MapView extends FrameLayout {
*/
@UiThread
public void onLowMemory() {
nativeMapView.onLowMemory();
if (nativeMapView != null) {
nativeMapView.onLowMemory();
}
}
/**