diff --git a/src/main/java/de/dennisguse/opentracks/viewmodels/GenericStatisticsViewHolder.java b/src/main/java/de/dennisguse/opentracks/viewmodels/GenericStatisticsViewHolder.java index fa2300ef7..593c3dc33 100644 --- a/src/main/java/de/dennisguse/opentracks/viewmodels/GenericStatisticsViewHolder.java +++ b/src/main/java/de/dennisguse/opentracks/viewmodels/GenericStatisticsViewHolder.java @@ -69,7 +69,11 @@ public abstract static class SpeedOrPace extends GenericStatisticsViewHolder { private final boolean reportSpeed; - public SpeedOrPace(boolean reportSpeed) { + //Change this constructor's visibility to protected +// public SpeedOrPace(boolean reportSpeed) { +// this.reportSpeed = reportSpeed; +// } + protected SpeedOrPace(boolean reportSpeed) { this.reportSpeed = reportSpeed; }