Browse Source

修改mid声源文件完整性判断逻辑

Pq 1 year ago
parent
commit
eef58b3c55
1 changed files with 2 additions and 2 deletions
  1. 2 2
      BaseLibrary/src/main/java/com/cooleshow/base/utils/FileUtils.java

+ 2 - 2
BaseLibrary/src/main/java/com/cooleshow/base/utils/FileUtils.java

@@ -1695,8 +1695,8 @@ public final class FileUtils {
         try {
             File f = new File(getCacheDir(application,"colexiu") + "/dysf.sf2");
             if (f.exists()) {
-                if (f.length() < 1024 * 1024 * 130) {
-                    //如果文件存在,并且低于138M
+                if (f.length() < 1024 * 1024 * 38) {
+                    //如果文件存在,并且低于38M
                     //目前没有md5校验,所以先这样处理文件完整性的问题
                     f.delete();
                 }