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: If a file can't be accessed, continue with the other files #1402

Closed d4rken closed 2 months ago

d4rken commented 2 months ago

A file that we are trying to delete, may be un-readable in addition to being un-writable. So a ReadException could be thrown too.

While we can't fix the underlying issue that prevents a file from being read or written, we can continue on with the other deletion tasks, and just leave this one for the user to investigate.

Closes #1391