summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/no/topi/fiken/display/MainActivity.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/src/main/java/no/topi/fiken/display/MainActivity.java b/app/src/main/java/no/topi/fiken/display/MainActivity.java
index 6c21afe..4f94784 100644
--- a/app/src/main/java/no/topi/fiken/display/MainActivity.java
+++ b/app/src/main/java/no/topi/fiken/display/MainActivity.java
@@ -25,6 +25,8 @@ import android.widget.ListView;
import android.widget.TextView;
import android.widget.Toast;
+import com.crashlytics.android.Crashlytics;
+import io.fabric.sdk.android.Fabric;
import java.util.ArrayList;
import java.util.List;
@@ -55,6 +57,7 @@ public class MainActivity extends ListActivity {
Log.i(TAG, "onCreate");
Thread.setDefaultUncaughtExceptionHandler(EXCEPTION_HANDLER);
super.onCreate(savedInstanceState);
+ Fabric.with(this, new Crashlytics());
ActionBar actionBar = getActionBar();
if (actionBar != null) {