Skip to content

Use scoped storage for file scans and handle missing WhatsApp dirs #364

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

MihaiCristianCondrea
Copy link
Owner

Summary

  • replace Environment.getExternalStorageDirectory() calls with context.getExternalFilesDir-based roots across file scanners and managers
  • avoid crashing on absent WhatsApp media directories with null-safe lookups
  • document WhatsApp cleaner behavior when media directories are missing

Testing

  • ./gradlew test (fails: SDK location not found)

https://chatgpt.com/codex/tasks/task_e_689a0c778ca8832d94fdbb9d63df540b

@MihaiCristianCondrea MihaiCristianCondrea merged commit 989a37c into master Aug 11, 2025
1 check passed
@MihaiCristianCondrea MihaiCristianCondrea deleted the codex/update-storage-access-methods-to-scoped-storage branch August 11, 2025 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant