v2.5.1: reverted change to temp file cleaning, wasn't causing slowdown
This commit is contained in:
@@ -82,10 +82,8 @@ public class FileUtils {
|
|||||||
for (FileHandle file : dir.list()){
|
for (FileHandle file : dir.list()){
|
||||||
if (file.isDirectory()){
|
if (file.isDirectory()){
|
||||||
foundTemp = cleanTempFiles(dirName + file.name()) || foundTemp;
|
foundTemp = cleanTempFiles(dirName + file.name()) || foundTemp;
|
||||||
//FIXME commenting this out for now as I suspect it may have been resulting in
|
} else if (file.length() == 0) {
|
||||||
// significantly elevated cold and warm start times on Android due to the increased IO
|
file.delete();
|
||||||
//} else if (file.length() == 0) {
|
|
||||||
// file.delete();
|
|
||||||
} else {
|
} else {
|
||||||
if (file.name().endsWith(".tmp")){
|
if (file.name().endsWith(".tmp")){
|
||||||
FileHandle temp = file;
|
FileHandle temp = file;
|
||||||
|
|||||||
Reference in New Issue
Block a user