zhanghai / zhanghai/MaterialFiles
Save Last Accessed Directory From App
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 9k
- Forks
- 736
- PR merge metrics
- No merged PRs in 30d
Description
When using the Files app on LineageOS, it will remeber and open the directory that was last accessed based on the app your accessed it from.
For example, I use FireFox. if there is a link in a website to upload a file, and I navigate to "Documents", the next time I upload a file from FireFox, it will automatically open "Documents" folder on my Android.
If I do this on Brave web browser, and I open "Pictures" and upload my file from there, the next time I upload from Brave it will automatically open "Pictures" folder
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the Files app's file-picker flow when it is opened by external apps such as Firefox or Brave, then check how the selected directory is currently handled. Confirm the expected behavior by opening upload dialogs from each browser; done means each calling app reopens its own last-accessed directory.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100