From 357664337d98e5c62b0fab097dd4fb58669b9956 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Fri, 1 Jul 2011 00:14:09 +0200 Subject: [PATCH] Change layout a bit --- OsmAnd/src/net/osmand/plus/render/MapRenderRepositories.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/render/MapRenderRepositories.java b/OsmAnd/src/net/osmand/plus/render/MapRenderRepositories.java index ab504ebd56..6804e638e6 100644 --- a/OsmAnd/src/net/osmand/plus/render/MapRenderRepositories.java +++ b/OsmAnd/src/net/osmand/plus/render/MapRenderRepositories.java @@ -399,6 +399,7 @@ public class MapRenderRepositories { Bitmap bmp = Bitmap.createBitmap(currentRenderingContext.width, currentRenderingContext.height, Config.RGB_565); + String renderingDebugInfo = currentRenderingContext.renderingDebugInfo; boolean stepByStep = prefs.USE_STEP_BY_STEP_RENDERING.get(); // 1. generate image step by step @@ -425,8 +426,8 @@ public class MapRenderRepositories { } if(prefs.DEBUG_RENDERING_INFO.get()){ String timeInfo = "Search done in "+ searchTime+" ms\nRendering done in "+ renderingTime+ " ms"; //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$ - if(currentRenderingContext.renderingDebugInfo != null){ - timeInfo += "\n"+currentRenderingContext.renderingDebugInfo; + if(renderingDebugInfo != null){ + timeInfo += "\n"+renderingDebugInfo; } final String msg = timeInfo; handler.post(new Runnable(){