mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 19:42:45 +00:00
Fix help launch crash with MxPlayer acting as default browser
This commit is contained in:
parent
8991b29329
commit
bf84ebef6d
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user