Fix bricks bug
This commit is contained in:
parent
8be7da0dd4
commit
84ecf92bd3
1 changed files with 5 additions and 1 deletions
|
@ -900,7 +900,11 @@ public class GpxUiHelper {
|
|||
OsmandSettings settings = ctx.getSettings();
|
||||
boolean light = settings.isLightContent();
|
||||
|
||||
mChart.setHardwareAccelerationEnabled(false);
|
||||
if (android.os.Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN_MR2) {
|
||||
mChart.setHardwareAccelerationEnabled(false);
|
||||
} else {
|
||||
mChart.setHardwareAccelerationEnabled(true);
|
||||
}
|
||||
mChart.setTouchEnabled(true);
|
||||
mChart.setDragEnabled(true);
|
||||
mChart.setScaleEnabled(true);
|
||||
|
|
Loading…
Reference in a new issue