1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-04 18:29:23 +02:00

BookUrlInfo.Format has gone

This commit is contained in:
Nikolay Pultsin 2014-07-01 16:26:44 +01:00
parent 70cdc44701
commit ae8d252ca4
12 changed files with 81 additions and 103 deletions

View file

@ -125,7 +125,7 @@ public abstract class Util implements UserRegistrationConstants {
activity.startService(
new Intent(Intent.ACTION_VIEW, Uri.parse(ref.Url),
activity.getApplicationContext(), BookDownloaderService.class)
.putExtra(BookDownloaderService.BOOK_FORMAT_KEY, ref.BookFormat.Extension)
.putExtra(BookDownloaderService.BOOK_MIME, ref.Mime.toString())
.putExtra(BookDownloaderService.REFERENCE_TYPE_KEY, resolvedType)
.putExtra(BookDownloaderService.CLEAN_URL_KEY, ref.cleanUrl())
.putExtra(BookDownloaderService.TITLE_KEY, book.Title)