d4rken-org / sdmaid-se

SD Maid 2/SE is Android's most thorough cleaning tool.
https://play.google.com/store/apps/details?id=eu.darken.sdmse
GNU General Public License v3.0
2.77k stars 432 forks source link

AppCleaner: Faster deletion when using Root/Shizuku on directories with many files #1464

Closed d4rken closed 1 week ago

d4rken commented 1 week ago

See commit msg:

Stop using deleteAll which did the recursion at a very high level, creating a lot of churn between the processes. Introduce and use new recursive flag which allows delete to "delete all" and handles deletion inside the gateways. No longer going back and forth between the processes, means that deletion of a large amount of files, using root or shizuku, is now much faster.

and

https://github.com/d4rken-org/sdmaid-se/issues/1443#issuecomment-2470963574

Closes #1443