Don't crash after catching the exception, just display the error

pull/14/head
Sam Bosley 13 years ago
parent 394f06ba58
commit 6abb2a9e44

@ -221,12 +221,8 @@ public class StartupService {
new AlertDialog.Builder(context) new AlertDialog.Builder(context)
.setTitle(R.string.DB_corrupted_title) .setTitle(R.string.DB_corrupted_title)
.setMessage(R.string.DB_corrupted_body) .setMessage(R.string.DB_corrupted_body)
.setPositiveButton(R.string.DLG_ok, new OnClickListener() { .setPositiveButton(R.string.DLG_ok, null)
@Override .create().show();
public void onClick(DialogInterface dialog, int which) {
throw e;
}
}).create().show();
} }
/** /**

Loading…
Cancel
Save