mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 10:19:33 +02:00
code simplification + introduced MissingBookActivity
This commit is contained in:
parent
d79e31eb87
commit
9d0166d9a7
11 changed files with 81 additions and 47 deletions
|
@ -133,10 +133,10 @@ public abstract class Util implements UserRegistrationConstants {
|
|||
activity.startService(
|
||||
new Intent(Intent.ACTION_VIEW, Uri.parse(ref.Url),
|
||||
activity.getApplicationContext(), BookDownloaderService.class)
|
||||
.putExtra(BookDownloaderService.BOOK_MIME, ref.Mime.toString())
|
||||
.putExtra(BookDownloaderService.Key.BOOK_MIME, ref.Mime.toString())
|
||||
.putExtra(BookDownloaderService.REFERENCE_TYPE_KEY, resolvedType)
|
||||
.putExtra(BookDownloaderService.CLEAN_URL_KEY, ref.cleanUrl())
|
||||
.putExtra(BookDownloaderService.TITLE_KEY, book.Title)
|
||||
.putExtra(BookDownloaderService.Key.BOOK_TITLE, book.Title)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue