aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-09-13 09:02:30 -0700
committerScott Jackson <daneren2005@gmail.com>2013-09-13 09:02:30 -0700
commit3c4e9ce398aca937fe68c73a7eed2129db759efb (patch)
treed512ce12fbc018735d4fc5f47d79871443f0a6d8 /src/github/daneren2005
parentdd719aa7f60363dbc7fab7d4ae61398a8c5e4460 (diff)
downloaddsub-3c4e9ce398aca937fe68c73a7eed2129db759efb.tar.gz
dsub-3c4e9ce398aca937fe68c73a7eed2129db759efb.tar.bz2
dsub-3c4e9ce398aca937fe68c73a7eed2129db759efb.zip
Fix crash from Dev Console
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r--src/github/daneren2005/dsub/view/ErrorDialog.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/view/ErrorDialog.java b/src/github/daneren2005/dsub/view/ErrorDialog.java
index e9f25a2d..55f230a4 100644
--- a/src/github/daneren2005/dsub/view/ErrorDialog.java
+++ b/src/github/daneren2005/dsub/view/ErrorDialog.java
@@ -59,7 +59,11 @@ public class ErrorDialog {
}
});
- builder.create().show();
+ try {
+ builder.create().show();
+ } catch(Exception e) {
+ // Don't care, just means no activity to attach to
+ }
}
private void restart(Activity context) {