From bb59449fbcbb46ba018313c51150924e7aec3be0 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sat, 6 Dec 2014 14:06:00 +0100 Subject: o Upgrading gadle. o Adding crashlytics. --- app/src/main/java/no/topi/fiken/display/MainActivity.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/src/main/java') 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) { -- cgit v1.2.3