From 2079c090e06a0dde7c937a2e8fe09cb25da12da7 Mon Sep 17 00:00:00 2001 From: Hardy Date: Sat, 18 Mar 2017 14:42:33 -0700 Subject: [PATCH] Test HW acelerstion off, according tohttp://stackoverflow.com/questions/36367324/mpandroidchart-bug-line-chart-fill-color-on-pre-api-21-devices --- OsmAnd/src/net/osmand/plus/helpers/GpxUiHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/helpers/GpxUiHelper.java b/OsmAnd/src/net/osmand/plus/helpers/GpxUiHelper.java index 45dd89ca70..9a4bdf69b4 100644 --- a/OsmAnd/src/net/osmand/plus/helpers/GpxUiHelper.java +++ b/OsmAnd/src/net/osmand/plus/helpers/GpxUiHelper.java @@ -900,7 +900,7 @@ public class GpxUiHelper { OsmandSettings settings = ctx.getSettings(); boolean light = settings.isLightContent(); - mChart.setHardwareAccelerationEnabled(true); + mChart.setHardwareAccelerationEnabled(false); mChart.setTouchEnabled(true); mChart.setDragEnabled(true); mChart.setScaleEnabled(true);