mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-06 12:00:17 +02:00
hide missing book notification
This commit is contained in:
parent
32243b32a1
commit
db0064c207
1 changed files with 6 additions and 0 deletions
|
@ -111,6 +111,12 @@ public class BookDownloaderService extends Service {
|
|||
}
|
||||
intent.setData(null);
|
||||
|
||||
if (intent.getBooleanExtra(Key.FROM_SYNC, false)) {
|
||||
final NotificationManager notificationManager =
|
||||
(NotificationManager)getSystemService(NOTIFICATION_SERVICE);
|
||||
notificationManager.cancel(NetworkNotifications.MISSING_BOOK_ID);
|
||||
}
|
||||
|
||||
final int notifications = intent.getIntExtra(Key.SHOW_NOTIFICATIONS, 0);
|
||||
|
||||
final String url = uri.toString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue