[android] - don't invoke onLowMemory on map when the map isn't fully created yet
This commit is contained in:
@@ -474,7 +474,9 @@ public class MapView extends FrameLayout {
|
||||
*/
|
||||
@UiThread
|
||||
public void onLowMemory() {
|
||||
nativeMapView.onLowMemory();
|
||||
if (nativeMapView != null) {
|
||||
nativeMapView.onLowMemory();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user