Fix help launch crash with MxPlayer acting as default browser

This commit is contained in:
Cameron Gutman 2016-11-13 20:29:34 -08:00
parent 8991b29329
commit bf84ebef6d

View File

@ -22,7 +22,11 @@ public class HelpLauncher {
context.startActivity(i); context.startActivity(i);
return; return;
} }
} catch (ActivityNotFoundException e) { } catch (Exception e) {
// This is only supposed to throw ActivityNotFoundException but
// it can (at least) also throw SecurityException if a user's default
// browser is not exported. We'll catch everything to workaround this.
// Fall through // Fall through
} }