zhanghai / zhanghai/MaterialFiles

Save Last Accessed Directory From App

Open
#1,317 2 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.