Repository navigation
Conversation
Add a "Show recent files" setting that lists the most recently modified files on the device, newest first, from the navigation drawer and a dynamic launcher shortcut. Files come from the media database and skip directories, temporary files, caches, thumbnails and logs. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an opt-in Show recent files setting. When it's on, a Recent files view lists the most recently modified files on the device (images, videos, audio, APKs, documents, archives and so on), newest first.
Changes
RecentFilesLiveData): queriesMediaStore.Fileson the external volumes for up to 500 files, re-sorts them by file system modification time, and publishes results as they load..tmp,.crdownload,.part, …)Thumbs.dband.nomediaLOST.DIRandAndroid/obbFileListAdapter:isSearchingis renamed toisUnsorted, since it now covers both search results and recent files.Testing
Manual testing on emulators; the project has no automated tests.
./gradlew :app:lintDebug: no new issues in the changed files and no errors. The only warnings are the expectedMissingTranslationones for the new strings.Notes
🤖 Generated with Claude Code