AmazeFileManager
AmazeFileManager copied to clipboard
fix issue #3245
Description
Fixes https://github.com/TeamAmaze/AmazeFileManager/issues/3245
Issue tracker
Automatic tests
- [ ] Added test cases
Manual tests
- [x] Done
- Device: OPPO A33m
- OS:Android 5.1.1 - 22
Build tasks success
Successfully running following tasks on local:
- [x]
./gradlew assembledebug - [x]
./gradlew spotlessCheck
Array out of index bug fix
While I fixing this bug I found another bug in removing the hidden files. If you remove more than one file at one time, you will find the hiddenFiles array's index will get wrong. I found that the index was not updated at the time of deletion. So I added in the source code that every delete must be reindexed. If you do not add this, you will end up with an array out of bounds or removing the wrong file when you remove hidden files multiple times.
please fix #3262 with this as well