We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 855f708 + 8c9b6ac commit 1f0d954Copy full SHA for 1f0d954
android/src/main/java/org/mozilla/mozstumbler/client/ClientPrefs.java
@@ -3,6 +3,7 @@
3
import android.content.Context;
4
import android.content.SharedPreferences;
5
6
+import org.mozilla.mozstumbler.BuildConfig;
7
import org.mozilla.mozstumbler.service.Prefs;
8
import org.mozilla.osmdroid.api.IGeoPoint;
9
import org.mozilla.osmdroid.util.GeoPoint;
@@ -96,7 +97,8 @@ public void setCrashReportingEnabled(boolean b) {
96
97
}
98
99
public boolean isCrashReportingEnabled() {
- return getBoolPrefWithDefault(CRASH_REPORTING, false);
100
+ // default to true for GITHUB build
101
+ return getBoolPrefWithDefault(CRASH_REPORTING, BuildConfig.GITHUB);
102
103
104
public void setMapTileResolutionType(int mapTileResolutionType) {
0 commit comments