mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-02-16 02:20:55 +00:00
Fix help launch crash with MxPlayer acting as default browser
This commit is contained in:
@@ -22,7 +22,11 @@ public class HelpLauncher {
|
||||
context.startActivity(i);
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user