fix version

This commit is contained in:
Hardy 2017-03-18 16:19:12 -07:00 committed by GitHub
parent 84ecf92bd3
commit b7b0ca501a

View file

@ -900,7 +900,7 @@ public class GpxUiHelper {
OsmandSettings settings = ctx.getSettings(); OsmandSettings settings = ctx.getSettings();
boolean light = settings.isLightContent(); 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); mChart.setHardwareAccelerationEnabled(false);
} else { } else {
mChart.setHardwareAccelerationEnabled(true); mChart.setHardwareAccelerationEnabled(true);