mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 10:49:24 +02:00
NPE fix: rewriting URLs when clicked in the Book is disabled
git-svn-id: https://only.mawhrin.net/repos/FBReaderJ/trunk@1594 6a642e6f-84f6-412e-ac94-c4a38d5a04b0
This commit is contained in:
parent
d246e3b942
commit
512812fcd5
1 changed files with 2 additions and 1 deletions
|
@ -99,7 +99,8 @@ public final class ZLAndroidLibrary extends ZLibrary {
|
||||||
intent.putExtra(BookDownloaderService.SHOW_NOTIFICATIONS_KEY, BookDownloaderService.Notifications.ALL);
|
intent.putExtra(BookDownloaderService.SHOW_NOTIFICATIONS_KEY, BookDownloaderService.Notifications.ALL);
|
||||||
externalUrl = false;
|
externalUrl = false;
|
||||||
}
|
}
|
||||||
reference = NetworkLibrary.Instance().rewriteUrl(reference, externalUrl);
|
// FIXME: initialize network library and use rewriteUrl!!!
|
||||||
|
//reference = NetworkLibrary.Instance().rewriteUrl(reference, externalUrl);
|
||||||
intent.setData(Uri.parse(reference));
|
intent.setData(Uri.parse(reference));
|
||||||
myActivity.startActivity(intent);
|
myActivity.startActivity(intent);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue