diff --git a/OsmAnd/src/net/osmand/plus/helpers/GpxUiHelper.java b/OsmAnd/src/net/osmand/plus/helpers/GpxUiHelper.java index 20489afe87..c579d817fe 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(); - if (android.os.Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN_MR2) { + if (android.os.Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) { mChart.setHardwareAccelerationEnabled(false); } else { mChart.setHardwareAccelerationEnabled(true);