summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2014-12-06 14:06:00 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2014-12-06 14:06:00 +0100
commitbb59449fbcbb46ba018313c51150924e7aec3be0 (patch)
tree7dc632b301f26f59e9ef83daaa566d929a15791b /app/src/main/java
parent2d887e4226d60347a97518c8efafa507d7ab7bed (diff)
downloadfiken-display-android-bb59449fbcbb46ba018313c51150924e7aec3be0.tar.gz
fiken-display-android-bb59449fbcbb46ba018313c51150924e7aec3be0.tar.bz2
fiken-display-android-bb59449fbcbb46ba018313c51150924e7aec3be0.tar.xz
fiken-display-android-bb59449fbcbb46ba018313c51150924e7aec3be0.zip
o Upgrading gadle.
o Adding crashlytics.
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) {