From ee54d374ffa79bfbd28ea5e3f751e2163895fc8b Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 7 Sep 2020 19:27:02 +0300 Subject: [PATCH] my local changes --- OsmAnd/src/net/osmand/plus/server/endpoints/TileEndpoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/server/endpoints/TileEndpoint.java b/OsmAnd/src/net/osmand/plus/server/endpoints/TileEndpoint.java index da99126197..a21c15de2a 100644 --- a/OsmAnd/src/net/osmand/plus/server/endpoints/TileEndpoint.java +++ b/OsmAnd/src/net/osmand/plus/server/endpoints/TileEndpoint.java @@ -69,7 +69,7 @@ public class TileEndpoint implements OsmAndHttpServer.ApiEndpoint, OsmandMapTile mapActivity.getMapView().setCurrentViewport(rotatedTileBox); int timeout = 0; try { - while (!rotatedTileBox.equals(resultBmpViewport) && timeout < SOCKET_READ_TIMEOUT) { + while (timeout < SOCKET_READ_TIMEOUT) { Thread.sleep(TIMEOUT_STEP); timeout += TIMEOUT_STEP; }