Age | Commit message (Collapse) | Author |
|
|
|
|
|
Updating a singletonList throws an UnsupportedOperationException,
so the worker does not remove the notification
|
|
WorkManager does not tell us whether it was cancelled by
the user (not retried) or by the system (retried later).
So we need to delete the file and remove from queue when
we know that it was actually the user. Also make sure
to always delete the file when the download fails.
Also, don't show "will retry" message on last retry attempt.
|
|
|
|
|
|
|
|
WorkManager doesn't do the workaround either.
So we would launch a download that then never starts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
On SDK<29, this class does not have a close method yet, so the app crashes when using try-with-resources.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
There should be no code path for feedItemPos to still be -1, but the
crash reports indicate that it does. So this is now the dirty fix to
avoid app crashes.
|
|
|
|
|
|
|
|
|
|
Remove no longer needed Compat stuff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Also, make it easier to see what option is selected
|
|
|
|
|
|
|
|
|