[android] Fix IllegalStateException in destroySurface method. #10418

Open
DevarshVasani wants to merge 3 commits from DevarshVasani/handle-surface-destruction into master

View file

@ -43,7 +43,7 @@ public class MapFragment extends BaseMwmFragment implements View.OnTouchListener
public void destroySurface()
{
mMap.onSurfaceDestroyed(requireActivity().isChangingConfigurations(), isAdded());
mMap.onSurfaceDestroyed(true, isAdded());
}
public boolean isContextCreated()