TeamAmaze / TeamAmaze/AmazeFileManager
Unable to delete directories under Android/data
Open
@TranceLove is already working on this.
Since Jan 12, 2024.
Area-FileOperations
Environment-API30
Environment-API31
Environment-API33
From-telegram
Issue-Bug
- Dominant language
- Kotlin
- Stars
- 6.4k
- Forks
- 1.7k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 1
Description
Describe the bug
Files/folders under Android/data, or also Android/obb, are unable to delete.
To Reproduce
Steps to reproduce the behavior:
Case 1:
- Go to
Android/dataof device's internal storage - Long tap on any folder you want to delete
- When menu opens, select "Delete"
- File list is gone, but will come back upon pull down refresh
- But folder want to delete in 2 is not deleted
Case 2:
- Go to
Android/dataof device's internal storage - Go into any folder which is actually an Android app's data folder
- Dialog will pop up prompting user to explicitly grant access permission, grant it
- Inside the folder in 2, long tap on any file/folder you want to delete
- When menu opens, select "Delete"
- Operation unsuccessful dialog pops up
Expected behavior
File/folder mentioned in above 2 cases should be able to delete without any error or hold up.
Smartphone (please complete the following information):
- Device: Pixel 5 emulator
- OS: Android 11
- Rooted: No
- Version:
release/3.10branch
Additional context
Some loopholes didn't plug when implementing support for Android/data. We need to fix this, but truly not sure how far we can go with SAF
Contributor guide
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.