1
0
Fork 0
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:
Vasiliy Bout 2010-07-14 20:11:23 +00:00
parent d246e3b942
commit 512812fcd5

View file

@ -99,7 +99,8 @@ public final class ZLAndroidLibrary extends ZLibrary {
intent.putExtra(BookDownloaderService.SHOW_NOTIFICATIONS_KEY, BookDownloaderService.Notifications.ALL);
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));
myActivity.startActivity(intent);
}