[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 e2a4dffcb6
commit d0309a3137

View File

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