v2.5.1: reverted change to temp file cleaning, wasn't causing slowdown

This commit is contained in:
Evan Debenham
2024-09-15 11:38:11 -04:00
parent 943222ca96
commit fc6964c15b

View File

@@ -82,10 +82,8 @@ public class FileUtils {
for (FileHandle file : dir.list()){
if (file.isDirectory()){
foundTemp = cleanTempFiles(dirName + file.name()) || foundTemp;
//FIXME commenting this out for now as I suspect it may have been resulting in
// significantly elevated cold and warm start times on Android due to the increased IO
//} else if (file.length() == 0) {
// file.delete();
} else if (file.length() == 0) {
file.delete();
} else {
if (file.name().endsWith(".tmp")){
FileHandle temp = file;