AmazeFileManager icon indicating copy to clipboard operation
AmazeFileManager copied to clipboard

fix issue #3245

Open happys2333 opened this issue 4 years ago • 1 comments

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.

happys2333 avatar Apr 10 '22 08:04 happys2333

please fix #3262 with this as well

VishalNehra avatar Apr 18 '22 08:04 VishalNehra