Skip to content

Commit

Permalink
bug with size of cache
Browse files Browse the repository at this point in the history
  • Loading branch information
master255 committed Oct 29, 2014
1 parent 123955b commit a1c2513
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/com/immortalplayer/HttpGetProxy.java
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public void setPaths(String dirPath, String url, int MaxSize, int maxnum,
dirPath = Environment.getExternalStorageDirectory().getAbsolutePath()
+ dirPath;
new File(dirPath).mkdirs();
long maxsize1 = MaxSize * 1024 * 1024;
long maxsize1 = MaxSize * 1024L * 1024L;
Utils.asynRemoveBufferFile(dirPath, maxnum, maxsize1);
mUrl = url;
file2 = Uri.decode(mUrl.substring(mUrl.lastIndexOf("/") + 1));
Expand Down Expand Up @@ -707,4 +707,4 @@ public void run()
}
}
}
}
}

0 comments on commit a1c2513

Please sign in to comment.