We can do that using an event.
This commit fixes one of the most prominent crashes on Google Play
where we cast the OnlineFeedViewActivity to MainActivity.
When service is quickly stopped again due to a playback error,
background tasks might not have delivered their result yet.
In this case, the service objects already get cleaned up.
Now, if the result gets delivered, the service is in an invalid state.
Who knows what happened exactly, but JitPack changed something
to the way they deliver dependencies. The version with the
v prefix got rebuilt (files inside jar have a new time stamp,
jar has a new hash, but contents are the same).
Now it no longer has any dependencies attached to it.
Switching to the version without v, which still works.
Translator: sk by Tibor Blažko <tblazko+transifex@gmail.com>
Translated using Weblate
Translator: ar by الزُّبَير <Azzubair@duck.com>
Translated using Weblate
Translator: it by Champ0999 <champ0999@users.noreply.hosted.weblate.org>
Translated using Weblate
Translator: et by rimasx <riks_12@hot.ee>
Translated using Weblate
Translator: uk by Ada Melentyeva <ada.melentyeva@gmail.com>
Translated using Weblate
Translator: sk by Martin <kubanikm@post.sk>
Translated using Weblate
Translator: eu by Eder Etxebarria Rojo <eder@betxepare.eus>
Translated using Weblate
Translator: de by VfBFan <drop0815@posteo.de>
Translated using Weblate
Translator: ru by Yurt Page <yurtpage@gmail.com>
Translated using Weblate
Translator: ru by Yurt Page <yurtpage@gmail.com>
Translated using Weblate
Translator: fr by Matth78 <3684177+Matth7878@users.noreply.github.com>
Translated using Weblate
Translator: nl by Frits van Bommel <fvbommel@gmail.com>
Translated using Weblate
Translator: iw by Yaron Shahrabani <sh.yaron@gmail.com>
Translated using Weblate
Translator: fr by Matth78 <3684177+Matth7878@users.noreply.github.com>
Translated using Weblate
Translator: de by VfBFan <drop0815@posteo.de>
Translated using Weblate
Translator: da by ERYpTION <eryption.ar9q2@slmail.me>
Translated using Weblate
Translator: gl by "josé m." <correoxm@disroot.org>
Translated using Weblate
Translator: zh-rCN by Sketch6580 <sketch6580@users.noreply.hosted.weblate.org>
Update translation files
Updated by "Cleanup translation files" add-on in Weblate.
Translate-URL: https://hosted.weblate.org/projects/antennapod/app/
Translation: AntennaPod/App
Co-authored-by: Ada Melentyeva <ada.melentyeva@gmail.com>
Co-authored-by: Champ0999 <champ0999@users.noreply.hosted.weblate.org>
Co-authored-by: ERYpTION <eryption.ar9q2@slmail.me>
Co-authored-by: Eder Etxebarria Rojo <eder@betxepare.eus>
Co-authored-by: Frits van Bommel <fvbommel@gmail.com>
Co-authored-by: Martin <kubanikm@post.sk>
Co-authored-by: Matth78 <3684177+Matth7878@users.noreply.github.com>
Co-authored-by: Sketch6580 <sketch6580@users.noreply.hosted.weblate.org>
Co-authored-by: Tibor Blažko <tblazko+transifex@gmail.com>
Co-authored-by: VfBFan <drop0815@posteo.de>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Co-authored-by: Yurt Page <yurtpage@gmail.com>
Co-authored-by: josé m <correoxm@disroot.org>
Co-authored-by: rimasx <riks_12@hot.ee>
Co-authored-by: الزُّبَير <Azzubair@duck.com>
Translator: de by ByteHamster <info@bytehamster.com>
Translated using Weblate
Translator: uk by Danylo Lystopadov <koorool@gmail.com>
Translated using Weblate
Translator: pt by "Filipe Mota (BlackSpirits)" <blackspirits@gmail.com>
Translated using Weblate
Translator: zh-rCN by 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
Translated using Weblate
Translator: et by rimasx <riks_12@hot.ee>
Translated using Weblate
Translator: et by rimasx <riks_12@hot.ee>
Translated using Weblate
Translator: et by rimasx <riks_12@hot.ee>
Translated using Weblate
Translator: et by rimasx <riks_12@hot.ee>
Translated using Weblate
Translator: sk by Martin <kubanikm@post.sk>
Translated using Weblate
Translator: br by AP <apiau@protonmail.com>
Translated using Weblate
Translator: pt by "Filipe Mota (BlackSpirits)" <blackspirits@gmail.com>
Translated using Weblate
Translator: es by liquen <liquen@sindominio.net>
Translated using Weblate
Translator: br by AP <apiau@protonmail.com>
Translated using Weblate
Translator: pt by "Filipe Mota (BlackSpirits)" <blackspirits@gmail.com>
Translated using Weblate
Translator: pt by "Filipe Mota (BlackSpirits)" <blackspirits@gmail.com>
Translated using Weblate
Translator: br by AP <apiau@protonmail.com>
Translated using Weblate
Translator: br by AP <apiau@protonmail.com>
Translated using Weblate
Translator: pl by MattSolo451 <mattsolo45@vivaldi.net>
Translated using Weblate
Translator: pl by MattSolo451 <mattsolo45@vivaldi.net>
Translated using Weblate
Translator: cs by Martin D <md.share@seznam.cz>
Translated using Weblate
Translator: cs by Martin D <md.share@seznam.cz>
Translated using Weblate
Translator: cs by Martin D <md.share@seznam.cz>
Translated using Weblate
Translator: pl by Eryk Michalak <gnu.ewm@protonmail.com>
Translated using Weblate
Translator: nb by Kjetil Sørlund <kjetil@sorlund.no>
Translated using Weblate
Translator: nb by Kjetil Sørlund <kjetil@sorlund.no>
Translated using Weblate
Translator: nb by Kjetil Sørlund <kjetil@sorlund.no>
Translated using Weblate
Translator: nb by Kjetil Sørlund <kjetil@sorlund.no>
Translated using Weblate
Translator: ro by Mozart Michael <michael.mozart@protonmail.com>
Translated using Weblate
Translator: nb by Kjetil Sørlund <kjetil@sorlund.no>
Translated using Weblate
Translator: ro by Mozart Michael <michael.mozart@protonmail.com>
Translated using Weblate
Translator: ar by الزُّبَير <Azzubair@duck.com>
Translated using Weblate
Translator: nb by Kjetil Sørlund <kjetil@sorlund.no>
Translated using Weblate
Translator: nb by Kjetil Sørlund <kjetil@sorlund.no>
Translated using Weblate
Translator: de by VfBFan <drop0815@posteo.de>
Co-authored-by: AP <apiau@protonmail.com>
Co-authored-by: ByteHamster <info@bytehamster.com>
Co-authored-by: Danylo Lystopadov <koorool@gmail.com>
Co-authored-by: Eryk Michalak <gnu.ewm@protonmail.com>
Co-authored-by: Filipe Mota (BlackSpirits) <blackspirits@gmail.com>
Co-authored-by: Kjetil Sørlund <kjetil@sorlund.no>
Co-authored-by: Martin <kubanikm@post.sk>
Co-authored-by: Martin D <md.share@seznam.cz>
Co-authored-by: MattSolo451 <mattsolo45@vivaldi.net>
Co-authored-by: Mozart Michael <michael.mozart@protonmail.com>
Co-authored-by: VfBFan <drop0815@posteo.de>
Co-authored-by: liquen <liquen@sindominio.net>
Co-authored-by: rimasx <riks_12@hot.ee>
Co-authored-by: الزُّبَير <Azzubair@duck.com>
Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
We check the feed id and the item id when removing from favorites.
However, the item ids are unique, so there is no need to check the feed id.
Actually, I have no idea why it was even added there in the first place.
Now that we have users who somehow ended up with a database where
they cannot un-favorite some of the items, removed the check.
Also make sure to clear the favorites table when deleting a feed.