From 5dd35f38f50ea5a01b37ab4bed9884def11cf7ac Mon Sep 17 00:00:00 2001 From: Ricky Barrette Date: Wed, 18 Jul 2012 15:02:13 -0400 Subject: [PATCH] I added the ExceptionHandler to GameListActivity --- .../com/TwentyCode/android/ExaltedDice/GameListActivity.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ExaltedDice/src/com/TwentyCode/android/ExaltedDice/GameListActivity.java b/ExaltedDice/src/com/TwentyCode/android/ExaltedDice/GameListActivity.java index 218618b..20c2bf7 100644 --- a/ExaltedDice/src/com/TwentyCode/android/ExaltedDice/GameListActivity.java +++ b/ExaltedDice/src/com/TwentyCode/android/ExaltedDice/GameListActivity.java @@ -6,6 +6,8 @@ */ package com.TwentyCode.android.ExaltedDice; +import com.TwentyCodes.android.exception.ExceptionHandler; + import android.app.Activity; import android.content.Intent; import android.os.Bundle; @@ -61,6 +63,7 @@ public class GameListActivity extends Activity implements OnClickListener, Datab @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); + Thread.setDefaultUncaughtExceptionHandler(new ExceptionHandler(this)); setContentView(R.layout.game_list); findViewById(R.id.new_game_button).setOnClickListener(this); mList = (ListView) findViewById(android.R.id.list);