From 0b86665092c5a1748f39fe0051db6db9fd4a526b Mon Sep 17 00:00:00 2001 From: vshcherb Date: Fri, 18 Oct 2013 01:17:23 +0200 Subject: [PATCH] Improve quality --- OsmAnd/src/net/osmand/plus/render/MapRenderRepositories.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/render/MapRenderRepositories.java b/OsmAnd/src/net/osmand/plus/render/MapRenderRepositories.java index d916878ac9..dc11cc55d3 100644 --- a/OsmAnd/src/net/osmand/plus/render/MapRenderRepositories.java +++ b/OsmAnd/src/net/osmand/plus/render/MapRenderRepositories.java @@ -595,9 +595,11 @@ public class MapRenderRepositories { log.warn(String.format("Create new image ? %d != %d (w) %d != %d (h) ", currentRenderingContext.width, reuse.getWidth(), currentRenderingContext.height, reuse.getHeight())); } if(transparent) { + // necessary bmp = Bitmap.createBitmap(currentRenderingContext.width, currentRenderingContext.height, Config.ARGB_8888); } else { - bmp = Bitmap.createBitmap(currentRenderingContext.width, currentRenderingContext.height, Config.RGB_565); + // better picture ? + bmp = Bitmap.createBitmap(currentRenderingContext.width, currentRenderingContext.height, Config.ARGB_8888); } } this.bmp = bmp;