v2.5.0: reverted a v2.4 change I think was affecting Android start times

This commit is contained in:
Evan Debenham
2024-07-08 15:48:48 -04:00
parent 7e5774906e
commit ea226259e9

View File

@@ -82,8 +82,10 @@ public class FileUtils {
for (FileHandle file : dir.list()){
if (file.isDirectory()){
foundTemp = cleanTempFiles(dirName + file.name()) || foundTemp;
} else if (file.length() == 0) {
file.delete();
//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.name().endsWith(".tmp")){
FileHandle temp = file;