mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 18:29:23 +02:00
possible exception has been catched
This commit is contained in:
parent
003bcf486b
commit
3524a47fe0
1 changed files with 5 additions and 1 deletions
|
@ -106,6 +106,10 @@ class ProcessHyperlinkAction extends FBAction {
|
|||
} catch (ZLNetworkException e) {
|
||||
}
|
||||
intent.setData(Uri.parse(NetworkLibrary.Instance().rewriteUrl(urlString, externalUrl)));
|
||||
myBaseActivity.startActivity(intent);
|
||||
try {
|
||||
myBaseActivity.startActivity(intent);
|
||||
} catch (ActivityNotFoundException e) {
|
||||
// TODO: show an error message
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue