Revert "Custom: Disable Crashlytics."

This reverts commit 015a852ab5.
This commit is contained in:
Johannes Mockenhaupt 2017-12-07 18:19:27 +01:00
parent 9e03e078b6
commit 87ab6432c6
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -11,7 +11,6 @@ import android.support.v4.content.LocalBroadcastManager;
import com.crashlytics.android.Crashlytics;
import com.crashlytics.android.answers.Answers;
import com.crashlytics.android.answers.CustomEvent;
import com.crashlytics.android.core.CrashlyticsCore;
import com.j256.ormlite.android.apptools.OpenHelperManager;
import com.squareup.otto.Bus;
import com.squareup.otto.LoggingBus;
@ -102,8 +101,7 @@ public class MainApp extends Application {
@Override
public void onCreate() {
super.onCreate();
Crashlytics crashlytics = new Crashlytics.Builder().disabled(true).build();
Fabric.with(this, crashlytics);
Fabric.with(this, new Crashlytics());
Fabric.with(this, new Answers());
Crashlytics.setString("BUILDVERSION", BuildConfig.BUILDVERSION);
log.info("Version: " + BuildConfig.VERSION_NAME);