Recreate the cache dir after deleting app data.

This commit is contained in:
akwizgran
2016-09-27 11:44:14 +01:00
parent eb6189150f
commit 9e3db12ea2

View File

@@ -108,6 +108,8 @@ public class AndroidUtils {
IoUtils.deleteFileOrDir(child);
}
}
// Recreate the cache dir as some OpenGL drivers expect it to exist
new File(dataDir, "cache").mkdir();
}
public static File getReportDir(Context ctx) {