Files
AntennaPod/storage/preferences
Michael Pollmeier fb2fc2834d Parental Control: allow to protect 'add feed' screen with a password (#8281)
### Description
Adds a Parental Controls feature that allows parents to set an 'parent
password' that restricts children from being able to search and
subscribe to any podcast out there.

Context: there's a lot of really great podcasts out there and I see my
children thrive with that knowledge. At the same time, not every podcast
is appropriate for their age, and I was looking for a simple way to stay
in control.

Idea:
- Initially, no password is set → "Add subscription" works directly
- parents can set an initial password in Settings → User Interface →
Parental Control Password
- Once set, "Add subscription" requires the password
- To change or clear the password, user must know the old password

Closes: #8280 

### 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
- [x] I have run the automated code checks using `./gradlew checkstyle
spotbugsPlayDebug spotbugsDebug :app:lintPlayDebug`
- [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

---------

Co-authored-by: ByteHamster <info@bytehamster.com>
2026-05-28 10:11:48 +02:00
..
2026-04-19 15:11:38 +02:00

:storage:preferences

User settings, but not the actual subscription database. Settings are accessed through static methods on classes like UserPreferences, which wrap Android SharedPreferences.