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