pocket-casts-android
pocket-casts-android copied to clipboard
[Project] Manage Downloaded Episodes - Snooze Low Storage Modal
Description
- This Snooze the Low Storage modal for 7 days after the user taps on Maybe Later Button
- Context: p1730298732804909/1730291928.354409-slack-C07TL9YK9V1
Fixes #3152
Testing Instructions
Use this mock.patch to mock low device storage and replace the snooze rule from 7 days to 10 seconds
- Download an episode
- Go to Profile -> Storage & Data Use
- ✅ Ensure the modal opens
- Tap on Maybe Later
- Wait for more than 10 seconds
- Open the Storage & Data Use again
- ✅ Ensure you don't see the modal
Screenshots or Screencast
Screen_recording_20241101_144020.webm
Checklist
- [ ] If this is a user-facing change, I have added an entry in CHANGELOG.md
- [x] Ensure the linter passes (
./gradlew spotlessApply
to automatically apply formatting/linting) - [x] I have considered whether it makes sense to add tests for my changes
- [x] All strings that need to be localized are in
modules/services/localization/src/main/res/values/strings.xml
- [x] Any jetpack compose components I added or changed are covered by compose previews
- [x] I have updated (or requested that someone edit) the spreadsheet to reflect any new or changed analytics.
I have tested any UI changes...
- [x] with different themes
- [x] with a landscape orientation
- [x] with the device set to have a large display and font size
- [x] for accessibility with TalkBack