my local changes

This commit is contained in:
simon 2020-09-07 19:27:02 +03:00
parent 08ab7a6613
commit ee54d374ff

View file

@ -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;
}