diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-09-13 09:02:30 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-09-13 09:02:30 -0700 |
commit | 3c4e9ce398aca937fe68c73a7eed2129db759efb (patch) | |
tree | d512ce12fbc018735d4fc5f47d79871443f0a6d8 /src | |
parent | dd719aa7f60363dbc7fab7d4ae61398a8c5e4460 (diff) | |
download | dsub-3c4e9ce398aca937fe68c73a7eed2129db759efb.tar.gz dsub-3c4e9ce398aca937fe68c73a7eed2129db759efb.tar.bz2 dsub-3c4e9ce398aca937fe68c73a7eed2129db759efb.zip |
Fix crash from Dev Console
Diffstat (limited to 'src')
-rw-r--r-- | src/github/daneren2005/dsub/view/ErrorDialog.java | 6 |
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) { |