AmazeFileManager
AmazeFileManager copied to clipboard
Files with ambiguous names crash on extraction : Fixed
Description
This crash issue is easily reproducible by renaming any file with one of "zip/tar/rar/7z" and clicking on Extract
option for the same. This is happening because, as per the current code, every file having name ending with one of above is treated as a compressed file and Extract
option is then enabled for it. On clicking the Extract
the code tries to fetch the file name and the code then crashes as there is no filename present except for the extension itself.
+ boolean hasFileName = compressedName.contains(".");
Issue tracker
Fixes #4146
Automatic tests
- [ ] Added test cases
Manual tests
- [x] Done
Build tasks success
Successfully running following tasks on local:
- [x]
./gradlew assembledebug
- [x]
./gradlew spotlessCheck