diff --git a/android/app/src/main/java/app/organicmaps/MapFragment.java b/android/app/src/main/java/app/organicmaps/MapFragment.java index 8fd3df959e..934391fef4 100644 --- a/android/app/src/main/java/app/organicmaps/MapFragment.java +++ b/android/app/src/main/java/app/organicmaps/MapFragment.java @@ -43,7 +43,6 @@ public class MapFragment extends BaseMwmFragment implements View.OnTouchListener public void destroySurface() { - if (getActivity() != null) mMap.onSurfaceDestroyed(true, isAdded()); }