Files
AntennaPod/model/src
Hans-Peter Lehmann c789cc03ea Fix crash when leaving while delete dialog is open (#8542)
### Description

Fix crash when resuming the activity while "delete podcast" dialog is
open.

The dialog gets called with a `Feed` as its extra but the `Feed` object
is not serializable. When the background activity gets killed, restoring
from the instance state is broken and crashes the app. Simply making it
serializable fixes the problem. Crash reported through Google Play.

### Checklist
<!-- 
To help us keep the issue tracker clean and work as efficient as
possible,
  please make sure that you have done all of the following.
You can tick the boxes below by placing an x inside the brackets like
this: [x]
-->
- [x] I have read the contribution guidelines:
https://github.com/AntennaPod/AntennaPod/blob/develop/CONTRIBUTING.md#submit-a-pull-request
- [x] I have performed a self-review of my code, going through my
changes line by line and carefully considering why this line change is
necessary
- [x] I have run the automated code checks using `./gradlew checkstyle
lint`
- [x] My code follows the style guidelines of the AntennaPod project:
https://antennapod.org/contribute/develop/app/code-style
- [x] I have mentioned the corresponding issue and the relevant keyword
(e.g., "Closes: #xy") in the description (see
https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue)
- [x] If it is a core feature, I have added automated tests
2026-06-23 07:57:37 +02:00
..