zhanghai / zhanghai/MaterialFiles
[Bug]: File list does not refresh automatically after granting storage permission
@zhanghai is already working on this.
Since Feb 25, 2025.
- Dominant language
- Kotlin
- Stars
- 9k
- Forks
- 736
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
After granting storage permission for the first time, the file manager does not automatically refresh the file list after file creation or deletion operations.
After the user navigates to another folder, everything returns to normal.
To Reproduce
Steps to reproduce the behavior:
- Open the app and grant storage permissions when prompted.
- Perform a file creation or deletion operation.
- The file list does not update.
Screen recording
https://github.com/user-attachments/assets/ae3fc1af-da21-4a4c-8abe-0b2d71707ab0
Expected behavior
The file list should automatically refresh and reflect any creation or deletion operations all the time.
Device Information:
- Device: generic_x86_64 (Android Studio x86 emulator)
- OS: Android 9
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.
Assessment
This issue has not been assessed yet.